Ctrl + Shift + Up/Down

SyntaxEditor for WPF Forum

Posted 6 years ago by Daisuke Nakada
Version: 17.2.0664
Avatar

Hi,

When the syntax editor has the focus and "Ctrl + Shift + Up/Down" is pressed, the focus moves.

Could you tell me what this behivior is and how I can cancel it, please?

 

Thank you.

Comments (4)

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

Hello,

I don't believe we have any commands mapped to those hotkeys.  Maybe you are thinking of Alt+Up/Down, which moves selected lines up/down?


Actipro Software Support

Posted 6 years ago by Daisuke Nakada
Avatar

Hi, thank you for your response.

 

I pressed Ctrl + Shift + Down when the focus is on the editor of the SDI Code Editor (Inline) sample and the focus moved to the scrollbar tray.

So I thought the editor has some command mapping for Ctrl + Shift + Down.

But in another sample (C# Editor (.NET Lang. Add-on)), when I pressed Ctrl + Shift + Down, the focus moved to the Error List window.

 

I've also checked "Default Key Bindings" documentation and there is no "Ctrl + Shift + Down", so that behivior might be related to WPF itself (not to the SyntaxEditor).

I'll research on that more from a viewpoint of WPF.

 

Thank you.

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

Hello,

Yes my guess is that since we don't handle those keys, the WPF focus manager is treating them as arrow keys that move focus directionally.


Actipro Software Support

Posted 6 years ago by Daisuke Nakada
Avatar

Thank you for your help.

The latest build of this product (v24.1.2) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.