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:
commit
b6d5c2b45a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user