Esempio n. 1
0
 private void txtDoc_DocumentClosed(TextDocument obj)
 {
     obj.FirstVisibleLine = sci.FistVisibleLine;
     obj.Selections       = sci.GetSelections().Select(s =>
                                                       new TextSelection {
         End = s.End, Start = s.Start, Main = s.MainSelection
     })
                            .ToList();
 }