Posted 14 years ago by Paul Huckstepp - UK
Avatar
I've set up a few keypresses for use when using the component for things like inserting   and <i> etc, but there is one that doesn't seem to work and thats Shift+Enter, or Control+Enter, is there a way to detect and use this sequence of keypresses?

At the moment I can see that the control either puts a line feed at the caret position or below the caret, but I would like to use one of the key sequences to insert a <br /> tag.

Thanks for any help in advance

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Paul,

Yes what is happening now is that the CommandLinks in SyntaxEditor.CommandLinks are intercepting Ctrl+Enter for the OpenLineCommand and Shift+Enter probably for a regular InsertLinkBreakCommand. You can simply remove those items from the collection and then you should be able to handle those keys.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) 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.