How to use appendtext in syntaxeditor

SyntaxEditor for Windows Forms Forum

Posted 6 years ago by ravi
Version: 13.1.0311
Avatar

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

Comments (3)

Posted 6 years ago by ravi
Avatar

and how to use UndoableInsert and UndoableDelete methods i did not find these methods under document.  and i am using licensed syntax editor.

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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.


Actipro Software Support

Posted 6 years ago by ravi
Avatar

Thank you..

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.