diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.h b/PowerEditor/src/ScintillaComponent/ScintillaEditView.h index fb849f619..fd13850ac 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.h +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.h @@ -673,8 +673,8 @@ protected: setLexer(L_MAKEFILE, LIST_NONE); }; - void setPropsLexer(bool notPropsButIni = false) { - LangType L_id = notPropsButIni ? L_INI : L_PROPS; + void setPropsLexer(bool isPropsButNotIni = true) { + LangType L_id = isPropsButNotIni ? L_PROPS : L_INI; setLexer(L_id, LIST_NONE); execute(SCI_STYLESETEOLFILLED, SCE_PROPS_SECTION, true); };