From: Enrico Forestieri Date: Wed, 14 Sep 2016 00:51:56 +0000 (+0200) Subject: Partly revert the bits of 8f86ee74 that are not necessary anymore after 8ec91e80 X-Git-Tag: 2.3.0alpha1~1027 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=72cf7c8f1f9311720832801af8eaff700333c1b8;p=features.git Partly revert the bits of 8f86ee74 that are not necessary anymore after 8ec91e80 --- diff --git a/src/BufferView.cpp b/src/BufferView.cpp index dd18b25bd8..0212b165d1 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -495,9 +495,7 @@ void BufferView::processUpdateFlags(Update::flags flags) // updateMetrics() does not update paragraph position // This is done at draw() time. So we need a redraw! - // We pass true so that metrics are computed for the sake - // of having MacroData updated. - buffer_.changed(true); + buffer_.changed(false); if (needsFitCursor()) { // The cursor is off screen so ensure it is visible. @@ -2183,9 +2181,7 @@ void BufferView::updateHoveredInset() const // This event (moving without mouse click) is not passed further. // This should be changed if it is further utilized. - // We pass true so that metrics are computed for the sake - // of having MacroData updated. - buffer_.changed(true); + buffer_.changed(false); } }