chiark / gitweb /
Fix movement by words in the editor buffer.
authorSimon Tatham <anakin@pobox.com>
Tue, 2 Jan 2024 11:05:17 +0000 (11:05 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 2 Jan 2024 17:30:18 +0000 (17:30 +0000)
commit687c8b56d707bc79a8c3aca9eb8c021cc76ab9cb
tree3f98a72e3cf37b2f0c327e93138a331875dfec44
parentd1c75161fea1c0bacdcf25079e188acddca866bd
Fix movement by words in the editor buffer.

I apparently only half-finished writing is_word_boundary: it tested
that the _next_ character wasn't a space, but not that the previous
one was.
src/editor.rs