Programmatically insert text

SyntaxEditor for WPF Forum

Posted 11 years ago by David Smith
Version: 10.2.0532
Avatar
I would like to search the syntax editor's current snapshot for a keyword and then insert some text after that.

Can you show an example of how to programmatically find a specified text string and then insert text after that?

Thanks in advance!

Comments (2)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi David,

Please see the "Text/Parsing Framework - Advanced Text Features / Low-Level Search Operations" documentation topic for advanced search capabilities.

Then use the info in the "Text/Parsing Framework - Core Text Features / Text Changes and Operations" topic to do your subsequent change.


Actipro Software Support

Posted 11 years ago by David Smith
Avatar
great - I have it working now. thanks!
The latest build of this product (v21.1.2) was released 25 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.