diff options
author | nyamatongwe <devnull@localhost> | 2010-09-06 20:22:50 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-09-06 20:22:50 +1000 |
commit | 2603138d18befea1768d8c8e64fca0cdc68a9cc7 (patch) | |
tree | 02c18220ca8c73632d6ab730f35b1c45e62a2399 | |
parent | af3eb2c4975ab25036525048a42f9a3cbdd83290 (diff) | |
download | scintilla-mirror-2603138d18befea1768d8c8e64fca0cdc68a9cc7.tar.gz |
Ensure changing the marker for a here-doc causes a redisplay.
-rw-r--r-- | lexers/LexPerl.cxx | 6 |
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) { |