public CodeEditorBookmark(FastColoredTextBox textBox, LDBookmark bookmark, TextStyle textStyle)
     : base(textBox, string.Empty, bookmark.Location.Line - 1)
 {
     InnerBookmark = bookmark;
     Style = textStyle;
     InnerBookmark.LocationChanged += InnerBookmark_LocationChanged;
 }
Esempio n. 2
0
 public CodeEditorBookmark(FastColoredTextBox textBox, LDBookmark bookmark, TextStyle textStyle)
     : base(textBox, string.Empty, bookmark.Location.Line - 1)
 {
     InnerBookmark = bookmark;
     Style         = textStyle;
     InnerBookmark.LocationChanged += InnerBookmark_LocationChanged;
 }
Esempio n. 3
0
 public CodeEditorBookmark(FastColoredTextBox textBox, LDBookmark bookmark, TextStyle textStyle)
     : base(textBox, string.Empty, bookmark.Line)
 {
     InnerBookmark = bookmark;
     Style = textStyle;
 }