Пример #1
0
 public override FormattedText GetFormattedText(FormattingOptions options, int cursorPosition, CancellationToken cancellationToken)
 {
     return(new FormattedText(this.Text, cursorPosition));
 }
Пример #2
0
 /// <summary>
 /// Gets the text with all the whitespace/trivia formatted using the specified options.
 /// </summary>
 public abstract FormattedText GetFormattedText(FormattingOptions options = null, int cursorPosition = 0, CancellationToken cancellationToken = default(CancellationToken));