]> git.lyx.org Git - features.git/commit
Fix height of cursor inside insets
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 4 Nov 2016 11:01:43 +0000 (12:01 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 4 Nov 2016 16:58:32 +0000 (17:58 +0100)
commita0b8ea2eee5f557c2e24196bcadde2515ff49968
tree8e02737eb6726d3fe0985e248035bd6d8781f09d
parentea3cdb15529d013bcac231c5b1f25628f5067b42
Fix height of cursor inside insets

It turns out that Cursor::getFont() does not return a fully realized
font in some cases. This patch uses real_current_font instead, which
seems better anyway.

I suspect that all uses of getFont() should be removed, but this is
not code that I know well.

Fixes bug #10478.
(cherry picked from commit b099d9ae15c45a9c30727078d69c0c7bd8029c9a)
src/BufferView.cpp
src/Cursor.cpp
src/frontends/qt4/GuiWorkArea.cpp
status.22x