SOLVED: Assign Ctrl + W to Word Wrap by default

Make a request or discuss new features.
Post Reply
inspector71
Posts: 220
Joined: 22 Sep 2017 07:59

SOLVED: Assign Ctrl + W to Word Wrap by default

Post by inspector71 »

Very surprised this is not default.

It is default in so many other programs so it is frustrating it is not in this program.
User avatar
pjj
Posts: 2108
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Assign Ctrl + W to Word Wrap by default

Post by pjj »

And I was very surprised to find out you were right! Indeed, fresh TextEd.kbd located at C:\Program Files\RJ TextEd\InstallData\Data\TextEd.kbd has this line

Code: Select all

WrapAction=
indicating no default shortcut. Hence +1.

...On second thought,
Alternatively referred to as Control+W and C-w, Ctrl+W is a keyboard shortcut most often used to close a program, window, tab, or document.
https://www.computerhope.com/jargon/c/ctrl-w.htm
Some users may be accustomed to Ctrl-W closing active document and this may account for not setting this shortcut to WrapAction by default. Hence -1.

+1 -1 = 0. I have thus no opinion what would "proper" course of action be in this case :? I am slightly inclined to vote for making it default for WrapAction, though. Anyway, happy New Year! :P
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
User avatar
Rickard Johansson
Site Admin
Posts: 6575
Joined: 19 Jul 2006 14:29

Re: Assign Ctrl + W to Word Wrap by default

Post by Rickard Johansson »

I tested in a few text editors and all of them (NotePad++, Sublime ...) used CTRL+W for closing the active document tab. I think I just leave it and let the user set any shortcut they want...
inspector71
Posts: 220
Joined: 22 Sep 2017 07:59

Re: Assign Ctrl + W to Word Wrap by default

Post by inspector71 »

Fair enough.

Thanks for considering this topic.
Post Reply