aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-09-04 11:55:40 +0000
committernyamatongwe <devnull@localhost>2000-09-04 11:55:40 +0000
commit953352fa209e234a023c10aa570891c41f057c27 (patch)
treefa2d55548d4a089c5ad1b7f303f4c7b42636c46f /src
parentc211e5751a99bd51fc7971731b18ab283b4de4c1 (diff)
downloadscintilla-mirror-953352fa209e234a023c10aa570891c41f057c27.tar.gz
Small tweak from Steffen.
Diffstat (limited to 'src')
-rw-r--r--src/LexPerl.cxx5
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') {