From 352965b2e78b50f1d6ea62b75b58db0725a5ddaa Mon Sep 17 00:00:00 2001 From: Christophe Meriaux Date: Tue, 5 May 2015 09:24:50 +0200 Subject: [PATCH] go to next indicator broken with only one char --- PowerEditor/src/Notepad_plus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 15787289..d1ba610c 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -4118,7 +4118,7 @@ bool Notepad_plus::goToNextIndicator(int indicID2Search, bool isWrap) const posEnd = _pEditView->execute(SCI_INDICATOREND, indicID2Search, 0); } } - int newPos = posEnd + 1; + int newPos = posEnd; posStart = _pEditView->execute(SCI_INDICATORSTART, indicID2Search, newPos); posEnd = _pEditView->execute(SCI_INDICATOREND, indicID2Search, newPos);