]> 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>
Fri, 11 May 2018 09:27:26 +0000 (11:27 +0200)
commit7f83d26934e50e3d83e254b0f9ab847d957053f7
treeffe383344d0e1cff4b7ba1265b61888be3ae797e
parent88c76ce4d25c3f1fff99ab87fcec16d56a8fe635
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.
src/BufferView.cpp