Hi, i like to know how i can configure Rj Texted to highlight in red any keyword that is followed by a space.
This is an example of this highlight.
For this example _ = Space
Keyword
Keyword,
Keyword,_AAAA
Keyword_
Keyword_AAAA
Keyword____AAAA_BBBB
So any keyword followed by a space will be always highlighted in red color. I hope i explained myself properly, thanks.
Doubt about syntax highlight
Re: Doubt about syntax highlight
FWIW I tried to setup a new highlighter -- with regex-based keywords -- but for some reason I failed. Maybe Rickard could look into it some day.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
- Rickard Johansson
- Site Admin
- Posts: 6783
- Joined: 19 Jul 2006 14:29
Re: Doubt about syntax highlight
It's possible to use blocks. But if you need to define a large number of keywords - the highlighter may become sluggish. Blocks are much more CPU demanding than regular keywords. So use them wisely.
3_Name=My keyword
3_OnLine=1
3_AsString=1
3_Start=keyword
3_End=
Notice the space after "3_Start=keyword ".
3_Name=My keyword
3_OnLine=1
3_AsString=1
3_Start=keyword
3_End=
Notice the space after "3_Start=keyword ".