Alsing.Windows.Forms.SyntaxBox.EditViewControl.GotoNextBookmark C# (CSharp) Method

GotoNextBookmark() public method

Moves the caret to the next line that has a bookmark.
public GotoNextBookmark ( ) : void
return void
        public void GotoNextBookmark()
        {
            int index = Document.GetNextBookmark(Caret.Position.Y);
            Caret.SetPos(new TextPoint(0, index));
            ScrollIntoView();
            Redraw();
        }