"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.
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.