aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-03-02 21:51:48 +0000
committernyamatongwe <devnull@localhost>2001-03-02 21:51:48 +0000
commite666162864c95980fc228fed70958c2a2695cba5 (patch)
tree76744379c0d5e3b2d603df97bf05fa1c8ccd5424 /src
parent7c0a5f60db17f1a87aad7c4b75166f1f22f8daf0 (diff)
downloadscintilla-mirror-e666162864c95980fc228fed70958c2a2695cba5.tar.gz
Update from Steve to make string style terminate after a variable.
Diffstat (limited to 'src')
-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;