These are the first lines of the .nedit file (only
meant as example)
1 nedit.shellCommands: \
6 sort::o:EX:\n\ 7 sort\n\ 8 number lines::n:AW:\n\ 9 nl -ba\n\ 10 make:Alt+Z:m:W:\n\ 11 make\n\ 12 expand::p:EX:\n\ 13 expand\n\ 14 unexpand::u:EX:\n\ 15 unexpand\n
The whole 15 lines are the pattern called Resource,
line continuation, i.e. \\\n, is a subpattern of
Resource called Resource Wrap and colored bold
But if you just insert a character, e.g. rename expand
in line 12 to exxpand,
then NEdit does not see that the last backslash in
line 11 is a subpattern,
and starts a new Resource pattern coloring exxpand
Moreover, this is not cured by undo.
Increasing line distance to two only shifts the
problem one line above.
Log in to post a comment.