jEdit Modes: Am I using at_word_start right?
Submitted by Wednesday, 2 April, 2014 - 16:50
on
I have a basic edit mode I'm creating and I want to make words bold when they have asterisks around them. This does it, but I'd rather have it work only if the * is right next to a word. The docs seem to say I can do it this way.
< SPAN TYPE="KEYWORD1" NO_LINE_BREAK="TRUE" AT_WORD_START="TRUE" >
< BEGIN >*< /BEGIN >
< END >*< /END >
< /SPAN >
In other words, I want *this to be bold*
But * this should not be bold *
Right now, both are getting bolded.
Thanks!
< SPAN TYPE="KEYWORD1" NO_LINE_BREAK="TRUE" AT_WORD_START="TRUE" >
< BEGIN >*< /BEGIN >
< END >*< /END >
< /SPAN >
In other words, I want *this to be bold*
But * this should not be bold *
Right now, both are getting bolded.
Thanks!