Syntax Files, RegExp for SyntaxEnd Character Strings

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Chris

Syntax Files, RegExp for SyntaxEnd Character Strings

Post by Chris »

I was just wondering if using Regular Expressions for SyntaxEnd character strings is possible or if there are any plans for this capability.

For example this would be very usful when editing web documents like PHP, JSP or ASP and you want syntax highlighting for both HTML and the code. The current problem comes when using the '>' character as the SyntaxEnd character. It works for most HTML and PHP syntax except for class objects like
$foo->bar();

It would be nice to say that '>' is the syntax end character but not '->' using a reg expression like [^-]>

Thanks,
Chris
Roy Beatty

Re: Syntax Files, RegExp for SyntaxEnd Character Strings

Post by Roy Beatty »

( Don't forget to enter your enhancement request at http://www.textpad.com/support/index.html )
Post Reply