Skip to content

Commit

Permalink
Fix braces matching bug for XML tag like <tag/>.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Dec 28, 2018
1 parent ee128a1 commit e0fd89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scintilla/lexers/LexHTML.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ void ColouriseHyperTextDoc(Sci_PositionU startPos, Sci_Position length, int init
styler.ColourTo(i + 1, SCE_H_TAGUNKNOWN);
} else {
styler.ColourTo(i - 1, StateToPrint);
styler.ColourTo(i + 1, SCE_H_TAGEND);
styler.ColourTo(i + 1, SCE_H_TAG); // SCE_H_TAGEND
}
i++;
ch = chNext;
Expand Down

0 comments on commit e0fd89f

Please sign in to comment.