public TextView(ICaretViewReadonly caretViewReader) { updatingAlgorithm = new TextUpdatingAlgorithm(); removingAlgorithm = new TextRemovingAlgorithm(); collapsingAlgorithm = new TextCollapsingAlgorithm(); parsingAlgorithm = new TextParsingAlgorithm(); this.caretViewReader = caretViewReader; visuals.Add(new SingleVisualTextLine(new SimpleTextSource(string.Empty, TextConfiguration.GetGlobalTextRunProperties()), 0)); }
public void Initialize() { algorithm = new TextRemovingAlgorithm(); }