Vincent van Ravesteijn wrote:
The very annoying bug 5465 prevents one from scrolling down when you come across a large inset. For example, a figure float with a few subfloats in it, or a very long ERT, or a long table.

The reason is that the cursor cannot be accomodated on a certain row, when the inset spreads over the full width. A very simple fix is to remove the following lines:

bufferview....@1402--1406:
   if (p.y_ < 0 || p.y_ > height_) {
           // The cursor is off-screen so recenter before proceeding.
           showCursor();
           p = getPos(cur, cur.boundary());
       }

These lines would cause the view scroll up to the cursor when pressing PgDown. This prevents scrolling past the long insets.

The drawback would be that LyX wouldn't scroll back to the cursor when the cursor is out of view, but I think that is a very rare usecase for PgUp/PgDown. I propose to fix this bug in 1.6.3, because it is very annoying.

I agree that it's a rare use case.

rh

Reply via email to