Programmatically insert text

SyntaxEditor for WPF Forum

Posted 9 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 9 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 9 years ago by David Smith
Avatar
great - I have it working now. thanks!
The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.