Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cursor_pos is a byte offset, but cursor_trail is a number of characters.
Therefore, adding them together is always wrong.
This fixes problems when inserting multi-byte characters.
|
|
|
|
|
|
Nice to spot these things early...
|
|
|
|
Fixes bad rendering on old GTK
|
|
|
|
An outdated concept...
|
|
Offsets are all bytes, now.
|
|
|
|
Not entirely sure why I used fprintf, because it's very bad here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|