Notepad++

Stewart Gordon smjg_1998 at yahoo.com
Fri Aug 14 18:00:47 PDT 2009


Stewart Gordon wrote:
<snip>
> TextPad's syntax highlighting engine manages 2/3 of this without any 
> regexps (or anything to that effect).  That said, I've just found that 
> it can do a little bit of what remains: I can make it do `...` but not 
> r"..." at the expense of distinguishing string and character literals.
<snip>

For the record, what I'd done is

StringStart = "
StringEnd = "
StringAlt = '
StringEsc = \
CharStart = `
CharEnd = `
CharEsc =

however, I've just found a bigger problem: only string literals, not 
char literals, can span lines in TP.

Stewart.



More information about the Digitalmars-d mailing list