Fix highlighting of <script> tags in XML files

This commit is contained in:
dail8859 2017-12-13 12:52:28 -05:00
parent 1725c8f8c1
commit c97b35c815

View File

@ -644,6 +644,8 @@ void ScintillaEditView::setXmlLexer(LangType type)
execute(SCI_SETKEYWORDS, i, reinterpret_cast<LPARAM>(TEXT("")));
makeStyle(type);
execute(SCI_SETPROPERTY, reinterpret_cast<WPARAM>("lexer.xml.allow.scripts"), reinterpret_cast<LPARAM>("0"));
}
else if ((type == L_HTML) || (type == L_PHP) || (type == L_ASP) || (type == L_JSP))
{