Menu

#1836 Different behavior delete word left vs. right (Ctrl+Del vs. Ctrl+backspace)

Bug
closed-rejected
3
2016-09-05
2016-06-07
b2f9h203
No

"Given this text" and the cursor is after Given:
"Given| this text" (vertical lign shall be the cursor)
now pressing Ctrl+Del will remove all the spaces, resulting in:
"Given|this text"
but if the cursor was before 'this':
"Given |this text"
and now pressing Ctrl+Backspace will delete not only delete the spaces before, but also the word before the spaces resulting in
"this text"
This is unexepected behavior compared to Ctrl+Del, and also compared to other text editors like here in firefox on sourceforge which in both cases only deltes the spaces.

Other editor behaviors:

FF sourceforge (two or mor spaces):
Ctrl+Del: only spaces
Ctrl+BS: only spaces
FF sourceforge (exactly one space):
FF address bar, quicksearch bar, settings page text boxes:
Thunderbird new Mail, mail address line, search bar:
Atom:
Ctrl+Del: spaces+word
Ctrl+BS: spaces+word
Scite:
Ctrl+Del: spaces
Ctrl+BS: spaces+word

Too bad there is no norm for this behavior. These incongrueties are a nightmare.

Discussion

  • Neil Hodgson

    Neil Hodgson - 2016-08-16
    • labels: --> scintilla, keys, editing
    • status: open --> open-rejected
    • assigned_to: Neil Hodgson
    • Priority: 5 --> 3
     
  • Neil Hodgson

    Neil Hodgson - 2016-08-16

    Scintilla implements the same behaviour as Visual Studio and Qt Creator on Windows. This is Scintilla's default behaviour and can be modified by providing your own code and binding it to Ctrl+Backspace or Ctrl+Delete.

     
  • Neil Hodgson

    Neil Hodgson - 2016-09-05
    • status: open-rejected --> closed-rejected
     

Log in to post a comment.