Topic: Use of ' and ' in Reserved sections (1 of 2), Read 45 times
Conf: Program develop.,Color syntax
From: Richard Kramer
Date: Sunday, November 03, 2002 12:57 PM

Is there a way to get the color syntaxer to recognize quote and apostrophe characters in the Reserved sections? What I really want to do is have something work for perl such that in
the "string" '$aaa bbb' $aaa is recognized as a variable, while the apostrophes, the space and bbb are colored as strings.

I have commented out the normal strings, as matching seems to override any other match. For simplicity, I have
Reserved4 = $|E+
which will match a variable, and have tried
Reserved3 = '|&'

The apostrophes are not matched.

Richard

 


Topic: Re: Use of ' and ' in Reserved sections (2 of 2), Read 48 times
Conf: Program develop.,Color syntax
From: Ted Green
Date: Sunday, November 03, 2002 01:03 PM

At 12:58 PM 11/3/2002, you wrote:
>Is there a way to get the color syntaxer to recognize quote and apostrophe characters in the Reserved sections?

Richard:

Sorry, but for now the answer is no.
The Reserved words only recognize alphanumerics and "_". (I think that "-" is also recognized for COBOL.)

This is too big a change to contemplate right now. Maybe after 6.1 is released.

Ted.