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