Detecting Shift-Space for Intellipromt

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by Matthew Smith - Developer, One Plus One Solutions Pty Limited
Avatar
Hi,

Need some help determining the best way to capture the Shift-Space press to activate the intellipromt function? (as you do in Visual Studio)

Can it be done via triggers or using the key-press/key-down?

Regards, Matt

Comments (2)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Matthew,

You can handle the KeyTyped event for that or you can add a custom EditCommand class and add it to the SyntaxEditor.CommandLinks collection for that key combination. Either way would work.


Actipro Software Support

Posted 19 years ago by Matthew Smith - Developer, One Plus One Solutions Pty Limited
Avatar
Thanks, that pointed me in the right direction!

Regards, Matt

The latest build of this product (v25.1.0) was released 23 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.