Fix highlighting of <script> tags in XML files
This commit is contained in:
parent
1725c8f8c1
commit
c97b35c815
@ -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…
Reference in New Issue
Block a user