Skip to content

Commit

Permalink
Fix python wrong decorator attribute colors
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelBlend authored and donho committed Dec 23, 2023
1 parent 3c4f0f9 commit d1b3fe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PowerEditor/src/ScintillaComponent/ScintillaEditView.h
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,7 @@ friend class Finder;
void setPythonLexer() {
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>("lexer.python.decorator.attributes"), reinterpret_cast<LPARAM>("1"));
};

void setGDScriptLexer() {
Expand Down

0 comments on commit d1b3fe6

Please sign in to comment.