summaryrefslogtreecommitdiffstats
path: root/scintilla/lexers/LexHTML.cxx
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2016-01-26 21:30:28 +0200
committerXhmikosR <xhmikosr@gmail.com>2016-01-26 21:30:28 +0200
commitb46520698a0913e1d97148398b0b99ea0491ef6d (patch)
tree4ddaf35c990c567751f2734b433c2cba443ce28f /scintilla/lexers/LexHTML.cxx
parentc8b14b4821a3197d26b6bd2d65b0fca490bc1d09 (diff)
downloadnotepad2-mod-b46520698a0913e1d97148398b0b99ea0491ef6d.zip
notepad2-mod-b46520698a0913e1d97148398b0b99ea0491ef6d.tar.gz
notepad2-mod-b46520698a0913e1d97148398b0b99ea0491ef6d.tar.bz2
Update Scintilla to v3.6.3 HG (25eaad4).4.2.25.970
Diffstat (limited to 'scintilla/lexers/LexHTML.cxx')
-rw-r--r--scintilla/lexers/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scintilla/lexers/LexHTML.cxx b/scintilla/lexers/LexHTML.cxx
index dcca93f..f4fe707 100644
--- a/scintilla/lexers/LexHTML.cxx
+++ b/scintilla/lexers/LexHTML.cxx
@@ -828,7 +828,7 @@ static void ColouriseHyperTextDoc(Sci_PositionU startPos, Sci_Position length, i
// handle end of Mako comment line
else if (isMako && makoComment && (ch == '\r' || ch == '\n')) {
makoComment = 0;
- styler.ColourTo(i, StateToPrint);
+ styler.ColourTo(i - 1, StateToPrint);
if (scriptLanguage == eScriptPython) {
state = SCE_HP_DEFAULT;
} else {