Tk Source Code

Check-in [a6e441b5]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove 3 lines of code in tkTextDisp.c which had become obsolete but were accidentally left in the file.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:a6e441b5686071f0d2e32e7fcfb1ecdbaa838487ee929d4b7b4d517cc65f8501
User & Date: jan.nijtmans 2019-01-03 21:30:51
Context
2019-01-04
01:01
Resolve bug [18a4ba19bd]. Make winfo containing behave consistently across platforms and fix a bug with embedded toplevels. check-in: 359434f3 user: culler tags: trunk
2019-01-03
21:49
Merge trunk check-in: 1444bc30 user: jan.nijtmans tags: revised_text, tip-466
21:30
Remove 3 lines of code in tkTextDisp.c which had become obsolete but were accidentally left in the file. check-in: a6e441b5 user: jan.nijtmans tags: trunk
21:29
Fix bug [b2dd3b4fe8] (text-11a.41 sometimes hangs) by reworking how the <<WidgetViewSync>> event is handled. check-in: 458ce8cc user: jan.nijtmans tags: trunk
21:14
Remove 3 lines of code in tkTextDisp.c which had become obsolete but were accidentally left in the file. check-in: 519cc259 user: jan.nijtmans tags: core-8-6-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkTextDisp.c.

3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
	 * If we were requested to update the entire range, then also update
	 * the scrollbar.
	 */

	GetYView(textPtr->interp, textPtr, 1);
    }
    if (fullUpdateRequested) {
        TextDInfo *dInfoPtr = textPtr->dInfoPtr;

        dInfoPtr->lastMetricUpdateLine = lineNum;
        dInfoPtr->currentMetricUpdateLine = lineNum;
        GenerateWidgetViewSyncEvent(textPtr, 1);
    }
    return lineNum;
}
 
/*
 *----------------------------------------------------------------------







<
<
<
<







3380
3381
3382
3383
3384
3385
3386




3387
3388
3389
3390
3391
3392
3393
	 * If we were requested to update the entire range, then also update
	 * the scrollbar.
	 */

	GetYView(textPtr->interp, textPtr, 1);
    }
    if (fullUpdateRequested) {




        GenerateWidgetViewSyncEvent(textPtr, 1);
    }
    return lineNum;
}
 
/*
 *----------------------------------------------------------------------