diff options
author | nyamatongwe <unknown> | 2000-12-14 07:22:49 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-12-14 07:22:49 +0000 |
commit | b032f6642c454784cb7264bec240afc7d06a2516 (patch) | |
tree | bc942327415d845c3c1a03d3c2fbf8fc2941ac58 /src/LexPerl.cxx | |
parent | ca20fa0b96e059e98b853268835faaebec70c3b1 (diff) | |
download | scintilla-mirror-b032f6642c454784cb7264bec240afc7d06a2516.tar.gz |
Patch from Steffen for quotes in SCE_PL_LONGQUOTE.
Diffstat (limited to 'src/LexPerl.cxx')
-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) { |