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:
parent
7ee63496d3
commit
7853876faa
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue