How to use appendtext in syntaxeditor ?
How to use insert in syntaxeditor ?
is there any way to add text where curser is available from code behind
How to use appendtext in syntaxeditor ?
How to use insert in syntaxeditor ?
is there any way to add text where curser is available from code behind
and how to use UndoableInsert and UndoableDelete methods i did not find these methods under document. and i am using licensed syntax editor.
Hi Ravi,
If you want to replace selected text, you can set the editor.SelectedView.SelectedText property.
Otherwise you can use the ReplaceText, DeleteText, InsertText, or AppendText methods on editor.Document. The caret location is at editor.Caret.Offset.
Thank you..
Please log in to a validated account to post comments.