]> git.lyx.org Git - lyx.git/commit
Create new method GuiWorkArea::Private:::updateCaretGeometry
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 2 Oct 2017 15:07:31 +0000 (17:07 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 15 Feb 2018 11:29:25 +0000 (12:29 +0100)
commit2b1b33189dc4113d2744cb9a68e691fbca4b884a
treeee62e379cc4df08412e26e68f7608991b96941bb
parent6bd158dcba851beb4c22f8aa79a572b21f1a16d0
Create new method GuiWorkArea::Private:::updateCaretGeometry

This replaces a showCaret/hideCaret pair and avoids an update.

Also remove an update() call in resizeBufferView: is is not necessary
since we are already in a pintEvent handler.

(cherry picked from commit add342d088c1b65343234576a35e567507fb2d49)
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/GuiWorkArea_Private.h