aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-09-06 20:22:50 +1000
committernyamatongwe <unknown>2010-09-06 20:22:50 +1000
commit02d51bfa77118e379d026e82c3a855dc260c9a72 (patch)
treef09035b5a97f84239907bac054776c45b22d7a9e
parentfe9860e959fc660a5dd5a2cee2057fca5d81a379 (diff)
downloadscintilla-mirror-02d51bfa77118e379d026e82c3a855dc260c9a72.tar.gz
Ensure changing the marker for a here-doc causes a redisplay.
-rw-r--r--lexers/LexPerl.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/lexers/LexPerl.cxx b/lexers/LexPerl.cxx
index ad9e77294..9d768478b 100644
--- a/lexers/LexPerl.cxx
+++ b/lexers/LexPerl.cxx
@@ -1168,6 +1168,12 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle,
}
}
sc.Complete();
+ if (sc.state == SCE_PL_HERE_Q
+ || sc.state == SCE_PL_HERE_QQ
+ || sc.state == SCE_PL_HERE_QX
+ || sc.state == SCE_PL_FORMAT) {
+ styler.ChangeLexerState(sc.currentPos, styler.Length());
+ }
}
static bool IsCommentLine(int line, Accessor &styler) {