ActiproSoftware.SyntaxEditor.KeyPressTrigger in WPF

SyntaxEditor for WPF Forum

Posted 10 years ago by Danny McNaught
Version: 9.1.0505
Avatar
How do I do this from the Windows version to the WPF version?
ActiproSoftware.SyntaxEditor.KeyPressTrigger

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

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Danny,

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 (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.