[v16.12] - CTRL-DEL bug

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
User avatar
vha
Posts: 1080
Joined: 27 Jun 2007 21:34
Location: Belgium

[v16.12] - CTRL-DEL bug

Post by vha »

Have following text:

Code: Select all

aaa bbb ccc
aaa _bbb ccc
Cursor at the end of "aaa" on the 1st line
CTRL-DEL -> all spaces up to "bbb" are deleted -> OK

Cursor at the end of "aaa" on the 2nd line
CTRL-DEL -> all characters up to "ccc" are deleted -> Not OK


vha
User avatar
Rickard Johansson
Site Admin
Posts: 6628
Joined: 19 Jul 2006 14:29

Re: [v16.12] - CTRL-DEL bug

Post by Rickard Johansson »

It seems the default behavior in Sublime and VS Code is:

One space between aaa and bbb (or _bbb) and hit Ctrl+Del:

Code: Select all

aaa| ccc
aaa| ccc
Two, or more spaces, between aaa and bbb and hit Ctrl+Del:

Code: Select all

aaa|bbb ccc
aaa|_bbb ccc
I'm not entirely sure I like it though. Maybe Ctrl+Del should delete one or more spaces. And only delete words if the next character is a non-space character...
User avatar
vha
Posts: 1080
Joined: 27 Jun 2007 21:34
Location: Belgium

Re: [v16.12] - CTRL-DEL bug

Post by vha »

Rickard Johansson wrote: 16 Mar 2024 13:25 I'm not entirely sure I like it though. Maybe Ctrl+Del should delete one or more spaces. And only delete words if the next character is a non-space character...
Totaly agree with that!

vha
Post Reply