Esempio n. 1
0
 public NoteEditorSearchHighlightAdorner(NoteEditor noteEditor, TextRange textRange) : base(noteEditor)
 {
     _textRange           = textRange;
     _searchHighlightRect = new Rect();
 }
Esempio n. 2
0
 public static void Init(NoteEditor noteEditor)
 {
     _noteEditor                        = noteEditor;
     _noteEditorAdornerLayer            = AdornerLayer.GetAdornerLayer(_noteEditor);
     _noteEditorSearchHighlightAdorners = new List <NoteEditorSearchHighlightAdorner>();
 }