How to can move lines up and down

SyntaxEditor for WPF Forum

Posted 3 years ago by Frank Link - CEO, FLK Consulting UG
Version: 16.1.0632
Avatar

Hi,

i need your help.

I would like to implement move up and down for selected lines.

Can you give an example how to implement this action?

regards

Frank

Comments (3)

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

Hi Frank,

Check out the "SyntaxEditor / User Interface Features / Input/Output Features / Default Key Bindings" topic.  Those two actions are already available via Alt+Up and Alt+Down.


Actipro Software Support

Posted 3 years ago by Frank Link - CEO, FLK Consulting UG
Avatar

Hi,

thanks for your answer.

Can I change the short cuts for this commands?

regards

Frank

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Frank,

Yes all of the EditorCommands are wired up to SyntaxEditor via its InputBindings collection. You would want to iterate that and remove the key bindings that triggers the move selected lines up/down commands. Then add your own custom ones for those same commands.


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.