Merge pull request #35 from cmeriaux/goToNextIndicator

[BUG_FIXED] Fix "Jump to next indicator" command broken with only one character.
This commit is contained in:
Don HO 2015-05-15 03:00:00 +02:00
commit b6d5c2b45a

View File

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