Fix python wrong decorator attribute colors

Fix #5894, close #14507
This commit is contained in:
PavelBlend 2023-12-19 23:04:05 +03:00 committed by Don Ho
parent 3c4f0f9cb2
commit d1b3fe6fee
1 changed files with 1 additions and 0 deletions

View File

@ -887,6 +887,7 @@ protected:
void setPythonLexer() { void setPythonLexer() {
setLexer(L_PYTHON, LIST_0 | LIST_1); setLexer(L_PYTHON, LIST_0 | LIST_1);
execute(SCI_SETPROPERTY, reinterpret_cast<WPARAM>("fold.quotes.python"), reinterpret_cast<LPARAM>("1")); execute(SCI_SETPROPERTY, reinterpret_cast<WPARAM>("fold.quotes.python"), reinterpret_cast<LPARAM>("1"));
execute(SCI_SETPROPERTY, reinterpret_cast<WPARAM>("lexer.python.decorator.attributes"), reinterpret_cast<LPARAM>("1"));
}; };
void setGDScriptLexer() { void setGDScriptLexer() {