diff options
author | nyamatongwe <unknown> | 2000-09-04 11:55:40 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-09-04 11:55:40 +0000 |
commit | 1b89177a526049246397bc9ae3f60434d5bdf36f (patch) | |
tree | fa2d55548d4a089c5ad1b7f303f4c7b42636c46f /src/LexPerl.cxx | |
parent | f623b97413ab8147083dc03b2e4140f25ef544b5 (diff) | |
download | scintilla-mirror-1b89177a526049246397bc9ae3f60434d5bdf36f.tar.gz |
Small tweak from Steffen.
Diffstat (limited to 'src/LexPerl.cxx')
-rw-r--r-- | src/LexPerl.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx index f50e01ed1..a7186fe55 100644 --- a/src/LexPerl.cxx +++ b/src/LexPerl.cxx @@ -292,8 +292,9 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle, } else { quotes++; } - if (quotes > 1 && isMatch(styler, lengthDoc, i, sooked) && (chPrev == '\n' || chPrev == '\r') ) { - styler.ColourTo(i + sookedpos - 1, SCE_PL_HERE); + if ((quotes > 1) && + (chPrev == '\n' || chPrev == '\r') && + isMatch(styler, lengthDoc, i, sooked)) { i += sookedpos; chNext = styler.SafeGetCharAt(i); if (chNext == '\n' || chNext == '\r') { |