summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removed unfinished test case committed by error in the previous commit.tip_441fvogel2016-01-181-22/+0
|
* Reverted [5f396dacdc].fvogel2016-01-182-0/+23
|
* Removed attempt of adjustment of the startup xview according to the -justify ↵fvogel2016-01-181-11/+0
| | | | option. Anyway this does not work.
* Documented what listbox-3.18b intends to test.fvogel2016-01-181-0/+4
|
* Use GetMaxOffset when possible to reduce code duplication. The change in ↵fvogel2016-01-181-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 ↵fvogel2016-01-181-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]).fvogel2016-01-171-1/+7
|
* Addressed questions 3 and 5 (see artifact [9d48a9c212] of ticket ↵fvogel2016-01-171-61/+0
| | | | [3f456a5bb9]). It is not desirable to make the listbox xview jump on resizing.
* Removed test listbox-3.18c since it is irrelevant (the rendering of the ↵fvogel2016-01-161-26/+0
| | | | selected items is made in a code that depends on existence of a selection but this is untestable by bboxing since bbox is independent from the presence of a selection in the listbox)
* Decided about test results for listbox-3.18afvogel2016-01-161-5/+5
|
* Rebased to latest trunkfvogel2016-01-161-0/+1
|\
| * Fixed bug [639558ac83] - Lots of listbox tests fail on Linuxfvogel2016-01-161-0/+1
| |
* | Addressed issue B (see artifact [9d48a9c212] of ticket [3f456a5bb9])fvogel2016-01-161-1/+10
| |
* | Addressed issue A and question 6 (see artifact [9d48a9c212] of ticket ↵fvogel2016-01-161-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]). fvogel2016-01-161-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])fvogel2016-01-161-1/+2
| |
* | Rebased to latest trunkfvogel2016-01-1313-89/+563
|\ \ | |/
| * TIP #438 (Ensure Line Metrics are Up-to-Date) accepted by votefvogel2016-01-136-38/+504
| |\
| | * rebase "tip-438" branch to latest trunk.tip_438jan.nijtmans2016-01-076-38/+504
| | |\
| | | * Harmonized use of NULL for textPtr->afterSyncCmdfvogel2016-01-051-2/+2
| | | |
| | | * Polished documentation a bitfvogel2016-01-051-7/+8
| | | |
| | | * Moved RunAfterSyncCmd procedurefvogel2016-01-051-47/+47
| | | |
| | | * Typo fixed in commentfvogel2016-01-051-1/+1
| | | |
| | | * Merged core-8-5-branchfvogel2015-12-262-2/+33
| | | |\
| | | * | [.text sync -command $cmd] schedules execution of $cmd by the event loop at ↵fvogel2015-12-263-14/+62
| | | | | | | | | | | | | | | | | | | | idle time
| | | * | Merged core-8-5-branchfvogel2015-12-2116-178/+367
| | | |\ \
| | | * | | Test text-11a.41 now correctly written passes.fvogel2015-12-201-6/+6
| | | | | |
| | | * | | There could be false negatives with [.text pendingsync] when line metrics ↵fvogel2015-12-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | calculation is in the middle of a long line.
| | | * | | Tests reordered. Two issues currently: 1. text-11a.22 currently hangs but ↵fvogel2015-12-191-38/+80
| | | | | | | | | | | | | | | | | | | | | | | | should pass once [.text sync -command $cmd] will be correctly implemented. 2. text-11a.41 fails (unsure why)
| | | * | | Better (and more correct) description of what [.text sync -command $command] ↵fvogel2015-12-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | does
| | | * | | Merged core-8-5-branchfvogel2015-12-133-15/+27
| | | |\ \ \
| | | * \ \ \ Merged core-8-5-branchfvogel2015-12-0911-65/+145
| | | |\ \ \ \
| | | * | | | | Clearer separation between what [.text sync] and [.text sync -command] ↵fvogel2015-11-281-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exactly perform
| | | * | | | | Fixed indentationfvogel2015-11-281-8/+8
| | | | | | | |
| | | * | | | | Merged core-8-5-branchfvogel2015-11-2813-693/+687
| | | |\ \ \ \ \
| | | * | | | | | Text widget documentation updated according to TIP #438fvogel2015-11-281-1/+92
| | | | | | | | |
| | | * | | | | | [.text pendingsync] returns a booleanfvogel2015-11-284-12/+11
| | | | | | | | |
| | | * | | | | | Merged core-8-5-branchfvogel2015-11-221-0/+16
| | | |\ \ \ \ \ \
| | | * | | | | | | Use the new sync command instead of the 'count -update' workaroundfvogel2015-11-221-4/+1
| | | | | | | | | |
| | | * | | | | | | Respect alphabetical orderfvogel2015-11-211-9/+9
| | | | | | | | | |
| | | * | | | | | | Improved the tests a bitfvogel2015-11-212-36/+45
| | | | | | | | | |
| | | * | | | | | | Adjusted when <<WidgetViewSync>> fires. Also %d now only has boolean value. ↵fvogel2015-11-212-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation in sync with TIP #438 rev. 1.10
| | | * | | | | | | Rename "yupdate" to "sync" and fix various test-casesjan.nijtmans2015-11-195-69/+69
| | | | | | | | | |
| | | * | | | | | | Tcl_Preserve should be first I guessfvogel2015-11-191-1/+2
| | | | | | | | | |
| | | * | | | | | | Make it compile with Visual 2008fvogel2015-11-191-1/+1
| | | | | | | | | |
| | | * | | | | | | Code Formattingjan.nijtmans2015-11-193-34/+36
| | | | | | | | | |
| | | * | | | | | | better argument checkingjan.nijtmans2015-11-192-2/+16
| | | | | | | | | |
| | | * | | | | | | First test-implementation of "$t yupdate -command <command>". TODO: more ↵jan.nijtmans2015-11-194-9/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testcases and documentation
| | | * | | | | | | Better test for bug [2677890] since [19960bcef8] breaks relevance/efficiency ↵fvogel2015-11-161-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the previous version of textDisp-34.1
| | | * | | | | | | Merge core-8-5-branchjan.nijtmans2015-11-162-10/+14
| | | |\ \ \ \ \ \ \