]> git.lyx.org Git - features.git/commit
Do not modify the changed() status of rows when no drawing has taken place
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 30 Jan 2015 10:18:04 +0000 (11:18 +0100)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 8 Feb 2015 21:18:56 +0000 (16:18 -0500)
commitc6f8f51525f711fdb85b4ef3d41cb6ee391bb919
tree678a09ba63416c96bf33343ed5db7bbd774a18eb
parentfdf41cfdd4e926e82de569b3afa87b46fb8c2934
Do not modify the changed() status of rows when no drawing has taken place

There are several places in the code where a row is painted with drawing disabled in the painter. The goal is only to recompute inset positions.

Such a case happens in BufferView::checkCursorScrollOffset, as part of the horizontal scrolling patch.

It makes sens to consider that only a real painting of a row should change its status. However, I would not be surprised if this change would break other things.

Fixes: #9388
src/TextMetrics.cpp