diff options
author | nyamatongwe <devnull@localhost> | 2000-09-04 11:55:40 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-09-04 11:55:40 +0000 |
commit | 953352fa209e234a023c10aa570891c41f057c27 (patch) | |
tree | fa2d55548d4a089c5ad1b7f303f4c7b42636c46f /src | |
parent | c211e5751a99bd51fc7971731b18ab283b4de4c1 (diff) | |
download | scintilla-mirror-953352fa209e234a023c10aa570891c41f057c27.tar.gz |
Small tweak from Steffen.
Diffstat (limited to 'src')
-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') { |