]> git.lyx.org Git - features.git/commit
Simplify and hopely fix scrollToCursor
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 13 Nov 2022 20:03:33 +0000 (21:03 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 21 Dec 2022 17:47:33 +0000 (18:47 +0100)
commit0fed10e4c395ae5dc22ccf86f9c846f322a1d09d
tree7f4d6d0c2594a89f0abb09dd52fd3e3610248b16
parent1470a7b864da1d3baf435b1a335f88fa22666a24
Simplify and hopely fix scrollToCursor

Remove some special cases that I do not really understand and
streamline the cases.

Also make sure that there is only one code path for centering.

Fixes bug #12491.
src/BufferView.cpp