Page 1 of 1

keyword within comments

Posted: Thu Sep 16, 2010 1:55 pm
by Macaroon
Hi! Is it possible to edit a syntax files so a keyword that appears within comments section in a different colour to the comments?

like this
REM DESCRIPTION: this is a new file

Posted: Mon Oct 04, 2010 8:23 am
by Macaroon
... from the resounding silence that would be a no, then.

Posted: Wed Oct 13, 2010 10:46 pm
by paleolith
The trouble is that it doesn't make sense. By definition, a sequence of letters which would constitute a keyword outside of a comment, is just part of a comment when in a comment.

I realize what you want, but it does not make sense as part of syntax highlighting. You want a different feature, for example a "continuous find" which can highlight multiple targets all through a file regardless of where the current selection.

And TP doesn't have that.

Edward