From 72cf7c8f1f9311720832801af8eaff700333c1b8 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 14 Sep 2016 02:51:56 +0200 Subject: [PATCH] Partly revert the bits of 8f86ee74 that are not necessary anymore after 8ec91e80 --- src/BufferView.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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); } }