示例#1
0
 public void SetText(string Text)
 {
     using (var readOnlyBypass = new ReadOnlyBypass(editText))
     {
         editText.Text = Text;
     }
 }
示例#2
0
 public void AppendText(string Text)
 {
     using (var readOnlyBypass = new ReadOnlyBypass(editText))
     {
         editText.AppendText(Text);
     }
     editText.Selection.Start = new FastColoredTextBoxNS.Place(0, editText.Lines.Count - 1);
     editText.Navigate(editText.Selection.Start.iLine);
 }