I use TextPad for editing Progress code. My problem is that Progress uses the period "." to end statement. The keyword "undo" is frequently followed by the period - which means "undo" is highlighted as a keyword but "undo." is not. I use "undo" only as an example, several keywords could be followed by the period.
I would like to know if there is a way to ignore the "." when it follows a keyword other than entering every keyword followed by a period into the Progress.syn file
Syntax Highlights
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Jens Hollmann
Re: Syntax Highlights
That's odd. All my syntax highlightings ignore the period.
Is the period part of the additional characters in words? This is a setting of the document class under "syntax". If I add a period there, the highlighting really changes as you stated here.
Is the period part of the additional characters in words? This is a setting of the document class under "syntax". If I add a period there, the highlighting really changes as you stated here.
-
Paul
Re: Syntax Highlights
Jens,
If you are referring to the field "Other characters in words" - the period is not in this field - I have tried adding the period and I still have the same results. Maybe I have set something somewhere else that causes me this problem.
If you are referring to the field "Other characters in words" - the period is not in this field - I have tried adding the period and I still have the same results. Maybe I have set something somewhere else that causes me this problem.
-
Jens Hollmann
Re: Syntax Highlights
Ah! I just tried another thing: Do you have any keyword defined that contains a period? If I do that I get the same problem.
Maybe all characters in keywords are automatically "other characters in words".
That would explain it but I can't think of a solution other than removing all periods in the SYN-file. And if you really need them, well...
Maybe all characters in keywords are automatically "other characters in words".
That would explain it but I can't think of a solution other than removing all periods in the SYN-file. And if you really need them, well...