diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.h b/PowerEditor/src/ScintillaComponent/ScintillaEditView.h index d7bd2f2f004..bd95a990495 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.h +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.h @@ -887,6 +887,7 @@ friend class Finder; void setPythonLexer() { setLexer(L_PYTHON, LIST_0 | LIST_1); execute(SCI_SETPROPERTY, reinterpret_cast("fold.quotes.python"), reinterpret_cast("1")); + execute(SCI_SETPROPERTY, reinterpret_cast("lexer.python.decorator.attributes"), reinterpret_cast("1")); }; void setGDScriptLexer() {