Merge pull request #35 from cmeriaux/goToNextIndicator

[BUG_FIXED] Fix "Jump to next indicator" command broken with only one character.
pull/72/head^2
Don HO 10 years ago
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…
Cancel
Save