Dim sel As Integer sel = RichTextBox1.SelectionStart RichTextBox1.Text = RichTextBox1.Text.Insert(RichTextBox1.SelectionStart, Environment.NewLine) RichTextBox1.SelectionStart = sel + 1 RichTextBox1.Focus()
RichTextBox1.AppendText(Environment.NewLine)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)