commit | 70f83679ee24bd01e7a0f481e23a7da0c10c9cfe | [log] [tgz] |
---|---|---|
author | Philipp Brüschweiler <blei42@gmail.com> | Tue Oct 02 11:06:54 2012 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Oct 04 11:31:21 2012 -0400 |
tree | 5be873dfa337db3ec8c2a062c8c614b687848811 | |
parent | 9f897c7a5faf3af477d161ddc020f9a3ae0d1cc9 [diff] |
editor: more intuitive cursor positioning Compute the nearest glyph edge instead of taking the one to the left of the cursor. Also fixes a segfault when trying to compute the position for an empty buffer.