Programmatically insert text

SyntaxEditor for WPF Forum

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

Add Comment

Please log in to a validated account to post comments.