Completely clear bookmarks when they are toggled off

It seems markers within Scintilla are not a true/false value but rather a counter. Closes #2366
This commit is contained in:
dail8859 2016-09-28 11:59:52 -04:00
parent 7ee63496d3
commit 7853876faa
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ private:
{
if (lineno == -1)
lineno = static_cast<int32_t>(_pEditView->getCurrentLineNumber());
if ( bookmarkPresent(lineno))
while (bookmarkPresent(lineno))
_pEditView->execute(SCI_MARKERDELETE, lineno, MARK_BOOKMARK);
}