From afdc7ea0e37f2ce568fd1c1689f35e631020b02d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 2 Mar 2001 21:51:48 +0000 Subject: Update from Steve to make string style terminate after a variable. --- src/LexHTML.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index d74981ec5..2f0c72851 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -1232,6 +1232,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty case SCE_HPHP_HSTRING_VARIABLE: if (!iswordstart(ch)) { styler.ColourTo(i-1, StateToPrint); + i--; // strange but it works state = SCE_HPHP_HSTRING; } break; -- cgit v1.2.3