Partly revert the bits of 8f86ee74 that are not necessary anymore after 8ec91e80

This commit is contained in:
Enrico Forestieri 2016-09-14 02:51:56 +02:00
parent 8ec91e804a
commit 72cf7c8f1f

View File

@ -495,9 +495,7 @@ void BufferView::processUpdateFlags(Update::flags flags)
// updateMetrics() does not update paragraph position // updateMetrics() does not update paragraph position
// This is done at draw() time. So we need a redraw! // This is done at draw() time. So we need a redraw!
// We pass true so that metrics are computed for the sake buffer_.changed(false);
// of having MacroData updated.
buffer_.changed(true);
if (needsFitCursor()) { if (needsFitCursor()) {
// The cursor is off screen so ensure it is visible. // 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 event (moving without mouse click) is not passed further.
// This should be changed if it is further utilized. // This should be changed if it is further utilized.
// We pass true so that metrics are computed for the sake buffer_.changed(false);
// of having MacroData updated.
buffer_.changed(true);
} }
} }