Browse Source

Fix highlighting of <script> tags in XML files

pull/4002/merge
dail8859 7 years ago
parent
commit
c97b35c815
  1. 2
      PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp

2
PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp

@ -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))
{

Loading…
Cancel
Save