Beispiel #1
0
 public static ViewLine ToViewLine(this ScreenBufferEntry e)
 {
     return(new ViewLine()
     {
         Message = e.Message,
         LineIndex = e.Index,
         TextLineIndex = e.TextLineIndex,
     });
 }
Beispiel #2
0
 internal static ViewLine ToViewLine(
     this ScreenBufferEntry e,
     MultilineText text,
     bool showTime,
     bool showMilliseconds,
     (int, int) selectionViewLinesRange,
Beispiel #3
0
 public static CursorPosition FromScreenBufferEntry(ScreenBufferEntry l, int charIndex)
 {
     return(new CursorPosition(l.Message, l.Source, l.TextLineIndex, charIndex));
 }