]> git.lyx.org Git - features.git/commit
Detect properly when cursor position cannot be computed
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 4 Dec 2015 22:26:16 +0000 (23:26 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Dec 2015 12:25:10 +0000 (13:25 +0100)
commit79bb97b1ba94ca5f4dc24e46bcedf7f18b2bebe3
treead66d14b60754defa8bd6fc2315acc1ff81339d1
parentacadb4d6083bc5dcf85d98041fbf6e717fc818ec
Detect properly when cursor position cannot be computed

Replace old ad-hoc test by a better one that inspects the coordcache to see whether all the insets in the cursor are known.

Fixes bug #9881.
src/BufferView.cpp
src/Cursor.cpp
src/Cursor.h