Wrong "Delete to end of word" at end_of_line+n when it contains unicode chars and no spaces at end
Original Reporter info from Mantis: Valdas
-
Reporter name: Valdas Jankūnas
Original Reporter info from Mantis: Valdas
- Reporter name: Valdas Jankūnas
Description:
In editor paste these two lines:
aaaą
bbbb
First line contains unicode char "ą" at end, both lines have no spaces at end.
Now place cursor to beyond of first line (at line end + one space) and press "Delete to end of word" keyboard shortcut (Ctrl + T or Ctrl + Del) - two lines become:
aaa� �bbbb
- last unicode char converted to one space between two question marks (illegal chars?).
If first line contains two unicode chars:
ęaaaą
bbbb
Then after mentioned del operation these lines becomes:
ęaaa ąbbbb
Another example:
čęaaaą
bbbb
Becomes:
čęaa aąbbbb
Additional information:
Tested in Qt and in Gtk2.
Mantis conversion info:
- Mantis ID: 22890
- OS: Kubuntu
- OS Build: 12.04
- Build: 38659
- Platform: Linux 3.5.0-4-generic x86_64
- Version: 1.1 (SVN)
- Fixed in version: 1.1 (SVN)
- Target version: 1.0.2