How to use appendtext in syntaxeditor

SyntaxEditor for Windows Forms Forum

Posted 11 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 11 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 11 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 11 years ago by ravi
Avatar

Thank you..

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.