From bd300294ddbd662e8bd7158b0727c0949ac3e7a4 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Tue, 28 Apr 2009 23:27:37 +0000 Subject: [PATCH] [NEW_FEATURE] Indentguideline can be shown w/o whitespace or tab symbol. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@470 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/Parameters.cpp | 1 + PowerEditor/src/ScitillaComponent/ScintillaEditView.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/PowerEditor/src/Parameters.cpp b/PowerEditor/src/Parameters.cpp index 1744dd9f5..b2b485707 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 a1ba13881..f1573c564 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 {