private void GotoNextBookmark() { try { Line next = Markers.FindNextMarker() ?? Markers.FindNextMarker(1); if (next != null) { Caret.Position = next.EndPosition; next.Range.SetIndicator(2); Caret.Goto(next.EndPosition); Focus(); } } catch (Exception err) { LogManager.Debug(err); } }