Posted 14 August 2025, 6:38 pm EST
With C1Editor I want to be able to insert multiple lines of text with a carriage return where the cursor is in the document. I cant figure out how to do this.
If I simply do the following:
Dim myText As String = “-------------------------------------------------” & vbCrLf & “Line 2” & vbCrLf
C1Editor1.ReplaceSelectedTextAsync(myText)
It will only insert into the editor 1 long line that looks like:
------------------------------------------------- Line 2