![Avatar](https://secure.gravatar.com/avatar/d9a8163e3bd0ca1420b30722eca4abe8.jpg?s=64&d=identicon&r=g)
Still not done with the lexer etc, but atm. I'm trying to add text via code, but it seems that it doesn't work as the standard textbox/RTB do.
Which property of the editor do I need to exam to get the same result?
Thanks in advance.
[Modified at 02/08/2011 01:45 AM]
With Textbox1
Dim insertText = "test"
Dim insertPos As Integer = .SelectionStart
.Text = .Text.Insert(insertPos, insertText)
.SelectionStart = insertPos + insertText.Length
End With
Thanks in advance.
[Modified at 02/08/2011 01:45 AM]