aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-03-02 21:51:48 +0000
committernyamatongwe <unknown>2001-03-02 21:51:48 +0000
commitafdc7ea0e37f2ce568fd1c1689f35e631020b02d (patch)
tree76744379c0d5e3b2d603df97bf05fa1c8ccd5424
parent740116c33177712038fdab206409972491cb0421 (diff)
downloadscintilla-mirror-afdc7ea0e37f2ce568fd1c1689f35e631020b02d.tar.gz
Update from Steve to make string style terminate after a variable.
-rw-r--r--src/LexHTML.cxx1
1 files changed, 1 insertions, 0 deletions
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;