How to get rid off the rectangular selection in SynEdit?

123 Views Asked by At

I am using SynEdit installed by the Delphi GetIt Package Manager.

While working with SynEdit, sometimes I get a rectangular selection and do not know how to disable it again. Then I need to restart the program to continue working. I must have pressed some key shortcuts without noticing it.

How can I disable this feature programmatically and/or how to turn off this mode if it was accidentally turned on?

Thank you for your help.

Rectangular Selection

1

There are 1 best solutions below

0
Ken White On BEST ANSWER

That's called column select mode. According to the source code, the hotkey to toggle it on is Ctrl+Shift+C. (It's on approximately line 879, which reads

AddKey(ecColumnSelect, ord('C'), [ssCtrl,ssShift]);

As you indicated in your comment above, you turn off that mode using Ctrl+Shift+L.