]> 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>
Mon, 2 Oct 2017 15:14:55 +0000 (17:14 +0200)
commitadd342d088c1b65343234576a35e567507fb2d49
tree442af00efccab16263703b0ec62c1b5063820508
parent92628a29901f8249860628c715fc80633726b150
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.
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/GuiWorkArea_Private.h