ActiproSoftware.SyntaxEditor.KeyPressTrigger in WPF

SyntaxEditor for WPF Forum

Posted 15 years ago by Danny McNaught
Version: 9.1.0505
How do I do this from the Windows version to the WPF version?

ActiproSoftware.Windows.Controls.SyntaxEditor.KeyPressTrigger does not exist.

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA

Key press triggers in SE4 basically just handled a typed character and if it was entered into a specific lexical state would raise the trigger. You should be able to effectively do the same thing by handling text input events in WPF and using the text snapshot scanning API we provide to look at the token you are at and thus lexical state. If it matches your trigger criteria then take whatever action you would want to do.

Actipro Software Support

The latest build of this product (v24.1.2) 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.