Changes todotxt-find-next-visible-char to skip only overlays marked 'invisible. Previous behaviour is that it doesn't work if a minor mode (like hl-line-mode) is adding overlays to the current line.
The first commit (while (invisible-p (point)) (forward-char)) is simple and readable, the 2nd replaces it with a more performant one from stackexchange. Feel free to take either.
Closes #29
Changes
todotxt-find-next-visible-char
to skip only overlays marked 'invisible. Previous behaviour is that it doesn't work if a minor mode (likehl-line-mode
) is adding overlays to the current line.The first commit
(while (invisible-p (point)) (forward-char))
is simple and readable, the 2nd replaces it with a more performant one from stackexchange. Feel free to take either.