|Highlight certain parts in comments [message #1040317]
||Sat, 13 April 2013 07:01
| Maximilian Girlich
Registered: March 2013
I was wondering whether it is possible to highlight certain parts e.g. links starting with @file in a comment. For example:
//this is a comment and then I have a link @file://a/link/to.somewhere and now the comment continues
I tried something like
'@file://' -> ' '
';' (LINK | !( '@' | '\n' | '\r' ) )* ('\r'? '\n')?
but there is no node created for the LINK in SL_COMMENT. Is this possible at all?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.01989 seconds