mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
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…
x
Reference in New Issue
Block a user