Topic: Problem with Syntax Highlighting: |? doesn't work (1 of 2), Read 40 times
Conf: Program develop.,Color syntax
From: Christian Ziemski
Date: Saturday, May 20, 2006 09:44 AM

While scanning the VEDIT helpfile (in RTF) to find all occurances of
VEDIT commands with empty parentheses "(x)" (where the x is the
character 0xA0) I found a problem with the Syntax Highlighting:


The matching code |? doesn't seem to work.

An entry in a .SYN file like

Numeric = |E+(|?)

doesn't higlight the desired strings.


I have to use the hardcoded

Numeric = |E+(x)

(where again the x is the character 0xA0)


Additional tests with |? ended without success as well.

Can anyone confirm or am I misunderstanding the |? code?


Christian


PS:
There are only very few coding examples in the online help with that
invalid "empty" parentheses like the one Peter Rejto found.

 


Topic: Re: Problem with Syntax Highlighting: |? doesn't work (2 of 2), Read 22 times
Conf: Program develop.,Color syntax
From: Ted Green
Date: Thursday, January 17, 2008 11:06 AM

At 08:45 AM 5/20/2006, you wrote:
>From: "Christian Ziemski"
>
>While scanning the VEDIT helpfile (in RTF) to find all occurances of
>VEDIT commands with empty parentheses "(x)" (where the x is the
>character 0xA0) I found a problem with the Syntax Highlighting:
>
>
>The matching code |? doesn't seem to work.

I found and fixed the problem yesterday. The fix will be in 6.15.2.

Ted.