Scrolling should use characters-per-visual-line, not lines
rberenguel opened this issue · 2 comments
Scrolling is generally broken.
Works well for help
because it is formed of many short lines, but when writing a normal piece the number of lines is less (it's basically one-paragraph-per-line then) which makes scrolling not work at all.
Should use characters-per-line, kind of as a baseline.
This is going to be more complicated than the current implementation.
This is quite bad, because it makes writing prose annoying.
I'm thinking this is probably best handled at the JS side than at the Python side.
Internally, in the editor that is, I have no way of knowing what is visible or not, and no power to position anything. In JS I may not have that much power either (because of the Kindle's browser) but is likely enough to make sure the current insertion point is visible.