private void TextBoxCore_TextChanged(object sender, TextChangedEventArgs e) { if (CheckBoxScrollCore.IsChecked.Value) { TextBoxCore.ScrollToEnd(); } }
public MRATextBox() { InitializeComponent(); this.marginnumberbar = 0.0; this.marginstructbar = 60.0; this.marginleft = 80.0; Core = new TextBoxCore(); }
public TextLine(TextBoxCore _core, ITextKey _left, ITextTrim _enter) : base(_core, _left, null) { if (_enter != null) { Add(_enter); } Doc = _left?.Doc?.Parent; }
public TextZone(TextBoxCore _core, ITextKey _left, ITextKey _right) : base(_core) { this.items = new List <ITextItem>(); this.linecount = 1; this.skipcount = 0; this.isskip = false; if (_left != null) { Add(_left); } if (_right != null) { Add(_right); } Doc = _left?.Doc?.Parent ?? _right?.Doc?.Parent; }
public TextChar(TextBoxCore _core, char _ch) : base(_core) { this.ch = _ch; }
public TextKey(TextBoxCore _core, ITextKeyCore _keycore) : base(_core) { this.keycore = _keycore; Doc = keycore.Doc; }
public TextTrim(TextBoxCore _core, string _word) : base(_core, _word) { }
public TextWord(TextBoxCore _core, string _word) : base(_core) { this.word = _word; }
public TextItem(TextBoxCore _core) { this.core = _core; }