summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextDisp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index cde30e1..4fb30e0 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -3391,10 +3391,6 @@ TkTextUpdateLineMetrics(
GetYView(textPtr->interp, textPtr, 1);
}
if (fullUpdateRequested) {
- TextDInfo *dInfoPtr = textPtr->dInfoPtr;
-
- dInfoPtr->lastMetricUpdateLine = lineNum;
- dInfoPtr->currentMetricUpdateLine = lineNum;
GenerateWidgetViewSyncEvent(textPtr, 1);
}
return lineNum;