From 2603138d18befea1768d8c8e64fca0cdc68a9cc7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 6 Sep 2010 20:22:50 +1000 Subject: Ensure changing the marker for a here-doc causes a redisplay. --- lexers/LexPerl.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lexers') 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) { -- cgit v1.2.3