diff --git a/PowerEditor/src/Parameters.cpp b/PowerEditor/src/Parameters.cpp index 1744dd9f..b2b48570 100644 --- a/PowerEditor/src/Parameters.cpp +++ b/PowerEditor/src/Parameters.cpp @@ -586,6 +586,7 @@ bool NppParameters::reloadStylers(TCHAR *stylePath) { getExternalLexerFromXmlTree( getExternalLexerDoc()->at(i) ); } + return true; } bool NppParameters::reloadLang() diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.h b/PowerEditor/src/ScitillaComponent/ScintillaEditView.h index a1ba1388..f1573c56 100644 --- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.h +++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.h @@ -296,7 +296,7 @@ public: }; void showIndentGuideLine(bool willBeShowed = true) { - execute(SCI_SETINDENTATIONGUIDES, (WPARAM)willBeShowed); + execute(SCI_SETINDENTATIONGUIDES, (WPARAM)willBeShowed?(SC_IV_LOOKBOTH):(SC_IV_NONE)); }; bool isShownIndentGuide() const {