Fix changing INI styles not working regression

Fix #12696
This commit is contained in:
Don Ho 2022-12-24 17:46:04 +01:00
parent 11f7ba2e0a
commit 13ddc1a339

View File

@ -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);
};