GNOME Bugzilla – Bug 522367
Ctrl+Delete before whitespace deletes next word
Last modified: 2014-04-10 14:38:40 UTC
If for example, I type the following sentence: "A cat sat on a mat." and position the cursor just after the word "cat", then press Ctrl+Delete, the result is "A cat on a mat." I would expect gedit to only delete the whitespace until the next word, so I'd get: "A cat sat on a mat." The same goes for cases, where there's a line break after a lot of whitespace, which happens A LOT during programming. For example: "A cat " "sat on a mat." results in: "A cat on a mat." again. This is especially annoying while programming, since I lose the first keyword of the next line, when all I wanted was to join two lines. Other information:
the behavior is part of gtktextview and should be fixed there.
The bug #611676 is more recent, but is more general (not only for whitespaces). *** This bug has been marked as a duplicate of bug 611676 ***