]> git.lyx.org Git - features.git/commit
Avoid crash when trying to handle FitCursor
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 11 May 2018 09:27:26 +0000 (11:27 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 13 May 2018 22:10:45 +0000 (00:10 +0200)
commit45fba1ce1b5b447a047071f62d6dd73aaceae11e
treeee1994c2cbd914d1e5ad9f870bb4a8e7eaf06d96
parentd35055de8387c7d1a06454fb7362928f700a6b7b
Avoid crash when trying to handle FitCursor

It is better to handle SinglePar before FitCursor, since the later
requires correct metrics at cursor position.

Fixes bug #11139 and probably #11125.

(cherry picked from commit 7f83d26934e50e3d83e254b0f9ab847d957053f7)
src/BufferView.cpp