Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reverted [5f396dacdc]. | fvogel | 2016-01-18 | 1 | -0/+1 |
| | |||||
* | Removed attempt of adjustment of the startup xview according to the -justify ↵ | fvogel | 2016-01-18 | 1 | -11/+0 |
| | | | | option. Anyway this does not work. | ||||
* | Use GetMaxOffset when possible to reduce code duplication. The change in ↵ | fvogel | 2016-01-18 | 1 | -6/+2 |
| | | | | ListboxScanTo is not exactly equivalent but I believe the previous version was a bug. | ||||
* | Fixed bug with the listbox justify patch: with large borders, when moving ↵ | fvogel | 2016-01-18 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | the horizontal scrollbar fully to the right the edge of the border could not be seen, one needed to push once on the right arrow of the scrollbar to see it. Test case: package require Tk destroy .top toplevel .top listbox .top.l -justify right -borderwidth 17 -highlightthickness 19 -selectborderwidth 22 scrollbar .top.hs -command ".top.l xview" -orient horizontal .top.l configure -xscrollcommand ".top.hs set" set huge [concat "START -" [string repeat "Huge Item... " 20] "- END"] .top.l insert end $huge pack .top.l -expand 1 -fill both pack .top.hs -expand 1 -fill x | ||||
* | Addressed question 4 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). | fvogel | 2016-01-17 | 1 | -1/+7 |
| | |||||
* | Addressed questions 3 and 5 (see artifact [9d48a9c212] of ticket ↵ | fvogel | 2016-01-17 | 1 | -61/+0 |
| | | | | [3f456a5bb9]). It is not desirable to make the listbox xview jump on resizing. | ||||
* | Addressed issue B (see artifact [9d48a9c212] of ticket [3f456a5bb9]) | fvogel | 2016-01-16 | 1 | -1/+10 |
| | |||||
* | Addressed issue A and question 6 (see artifact [9d48a9c212] of ticket ↵ | fvogel | 2016-01-16 | 1 | -9/+7 |
| | | | | | | | | | | | | | | | [3f456a5bb9]). Issue A is fixed. Test case: package req Tk listbox .l .l insert end M M M M M M M M M pack .l .l conf -just center ; # or right .l conf -highlightthickness 40 .l selection set 4 Regarding question 6, Tk_TextWidth is a bit lower level function in the API, which must be slightly beneficial regarding performance. Tk_TextWidth is therefore preferred. | ||||
* | Addressed question 2 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). | fvogel | 2016-01-16 | 1 | -0/+4 |
| | | | | This code arranges for the correct xview when creating the listbox with non-default justification. It is correctly placed in Tk_ListboxObjCmd. When changing justification later, i.e. in ConfigureListbox, there is no reason to change the xview, it would not be desired that the listbox xview jumps when configuring -justify. | ||||
* | Addressed question 1 (see artifact [9d48a9c212] of ticket [3f456a5bb9]) | fvogel | 2016-01-16 | 1 | -1/+2 |
| | |||||
* | Rebased to latest trunk | fvogel | 2016-01-13 | 7 | -35/+225 |
|\ | |||||
| * | TIP #438 (Ensure Line Metrics are Up-to-Date) accepted by vote | fvogel | 2016-01-13 | 3 | -6/+198 |
| |\ | |||||
| | * | rebase "tip-438" branch to latest trunk.tip_438 | jan.nijtmans | 2016-01-07 | 3 | -6/+198 |
| | |\ | |||||
| | | * | Harmonized use of NULL for textPtr->afterSyncCmd | fvogel | 2016-01-05 | 1 | -2/+2 |
| | | | | |||||
| | | * | Moved RunAfterSyncCmd procedure | fvogel | 2016-01-05 | 1 | -47/+47 |
| | | | | |||||
| | | * | Typo fixed in comment | fvogel | 2016-01-05 | 1 | -1/+1 |
| | | | | |||||
| | | * | Merged core-8-5-branch | fvogel | 2015-12-26 | 1 | -1/+8 |
| | | |\ | |||||
| | | * | | [.text sync -command $cmd] schedules execution of $cmd by the event loop at ↵ | fvogel | 2015-12-26 | 3 | -14/+62 |
| | | | | | | | | | | | | | | | | | | | | idle time | ||||
| | | * | | Merged core-8-5-branch | fvogel | 2015-12-21 | 1 | -32/+97 |
| | | |\ \ | |||||
| | | * | | | There could be false negatives with [.text pendingsync] when line metrics ↵ | fvogel | 2015-12-20 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | calculation is in the middle of a long line. | ||||
| | | * | | | Merged core-8-5-branch | fvogel | 2015-12-13 | 1 | -13/+14 |
| | | |\ \ \ | |||||
| | | * \ \ \ | Merged core-8-5-branch | fvogel | 2015-12-09 | 1 | -24/+47 |
| | | |\ \ \ \ | |||||
| | | * | | | | | Fixed indentation | fvogel | 2015-11-28 | 1 | -8/+8 |
| | | | | | | | | |||||
| | | * | | | | | Merged core-8-5-branch | fvogel | 2015-11-28 | 1 | -1/+5 |
| | | |\ \ \ \ \ | |||||
| | | * | | | | | | [.text pendingsync] returns a boolean | fvogel | 2015-11-28 | 3 | -11/+10 |
| | | | | | | | | | |||||
| | | * | | | | | | Respect alphabetical order | fvogel | 2015-11-21 | 1 | -9/+9 |
| | | | | | | | | | |||||
| | | * | | | | | | Adjusted when <<WidgetViewSync>> fires. Also %d now only has boolean value. ↵ | fvogel | 2015-11-21 | 1 | -7/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation in sync with TIP #438 rev. 1.10 | ||||
| | | * | | | | | | Rename "yupdate" to "sync" and fix various test-cases | jan.nijtmans | 2015-11-19 | 3 | -38/+38 |
| | | | | | | | | | |||||
| | | * | | | | | | Tcl_Preserve should be first I guess | fvogel | 2015-11-19 | 1 | -1/+2 |
| | | | | | | | | | |||||
| | | * | | | | | | Make it compile with Visual 2008 | fvogel | 2015-11-19 | 1 | -1/+1 |
| | | | | | | | | | |||||
| | | * | | | | | | Code Formatting | jan.nijtmans | 2015-11-19 | 3 | -34/+36 |
| | | | | | | | | | |||||
| | | * | | | | | | better argument checking | jan.nijtmans | 2015-11-19 | 1 | -1/+7 |
| | | | | | | | | | |||||
| | | * | | | | | | First test-implementation of "$t yupdate -command <command>". TODO: more ↵ | jan.nijtmans | 2015-11-19 | 3 | -9/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testcases and documentation | ||||
| | | * | | | | | | Merge core-8-5-branch | jan.nijtmans | 2015-11-16 | 1 | -8/+12 |
| | | |\ \ \ \ \ \ | |||||
| | | * \ \ \ \ \ \ | TIP #438 - <<TextLineHeightsInvalid>> event added, with corresponding new tests | fvogel | 2015-11-14 | 1 | -0/+40 |
| | | |\ \ \ \ \ \ \ | |||||
| | | | * | | | | | | | Implementation of TIP #438 - Solution using virtual eventstip_438_events | fvogel | 2015-11-10 | 1 | -0/+50 |
| | | | | | | | | | | | |||||
| | | * | | | | | | | | TIP #438 - [.text pendingyupdate] command added, with corresponding new tests | fvogel | 2015-11-14 | 3 | -5/+47 |
| | | | | | | | | | | | |||||
| | | * | | | | | | | | TIP #438 - [.text yupdate] command added, with corresponding new tests | fvogel | 2015-11-14 | 1 | -2/+12 |
| | | |/ / / / / / / | |||||
| * | | | | | | | | | Bring back DEF_TEXT_SPACING[123], since "0" is not exactly equal to NULL ↵bug_2049429fff | jan.nijtmans | 2016-01-12 | 2 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (just to be 100% sure there will not be a behavioral change) | ||||
| * | | | | | | | | | Merge trunk. | jan.nijtmans | 2016-01-11 | 2 | -4/+4 |
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ttkButton.c: Invalid use of TK_OPTION_DONT_SET_DEFAULT, should have been TK_OPTION_NULL_OK as in normal button. tkTextTag.c: Use of TK_OPTION_DONT_SET_DEFAULT means that the default value "0" is ignored, so better use NULL. | ||||
| * \ \ \ \ \ \ \ \ \ | Rebase to 8.6, getting rid of DEF_TEXT_SPACING[123] | jan.nijtmans | 2016-01-10 | 3 | -26/+24 |
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | |||||
| | * | | | | | | | | | -spacing[123] use TK_OPTION_NULL_OK instead of TK_OPTION_DONT_SET_DEFAULT | fvogel | 2016-01-09 | 1 | -3/+3 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Removed unused flags argument in Configure function since Tk_ConfigureWidget ↵ | fvogel | 2016-01-08 | 2 | -12/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is no longer used there since last century | ||||
| | * | | | | | | | | | Use TK_OPTION_NULL_OK instead of TK_CONFIG_NULL_OK | fvogel | 2016-01-08 | 3 | -8/+8 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | (cherry-pick) Fixed bug [1305128] - Scrollbar doesn't receive event | jan.nijtmans | 2016-01-08 | 1 | -0/+2 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | More typos fixed | fvogel | 2016-01-13 | 1 | -10/+14 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | Typo fixed | fvogel | 2016-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | Improved patch formatting. No functional change | fvogel | 2016-01-11 | 1 | -26/+44 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | merged trunk | fvogel | 2016-01-11 | 42 | -796/+1424 |
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | |||||
| * | | | | | | | | | | Fixed bug [1305128] - Scrollbar doesn't receive event | jan.nijtmans | 2016-01-08 | 1 | -0/+2 |
| |\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | |