diff options
author | nyamatongwe <devnull@localhost> | 2000-12-14 07:22:49 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-12-14 07:22:49 +0000 |
commit | 40c418a65fbba26ce29b30cee096f87eed7fa564 (patch) | |
tree | bc942327415d845c3c1a03d3c2fbf8fc2941ac58 /src | |
parent | 682ee1d6839f69cef34265ec79e8bf4c10dbdf7b (diff) | |
download | scintilla-mirror-40c418a65fbba26ce29b30cee096f87eed7fa564.tar.gz |
Patch from Steffen for quotes in SCE_PL_LONGQUOTE.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexPerl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx index c2c52533c..9956c8fb2 100644 --- a/src/LexPerl.cxx +++ b/src/LexPerl.cxx @@ -600,6 +600,10 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle, quoteUp = ch; quoteDown = opposite(quoteUp); quotes++; + } else if (ch == '\\' && quoteUp != '\\') { + i++; + ch = chNext; + chNext = styler.SafeGetCharAt(i + 1); } else if (ch == quoteDown) { quotes--; if (quotes == 0) { |