commit 72cf7c8f1f9311720832801af8eaff700333c1b8
Author: Enrico Forestieri <[email protected]>
Date: Wed Sep 14 02:51:56 2016 +0200
Partly revert the bits of 8f86ee74 that are not necessary anymore after
8ec91e80
---
src/BufferView.cpp | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index dd18b25..0212b16 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);
}
}