summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | |\ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ TIP #438 - <<TextLineHeightsInvalid>> event added, with corresponding new testsfvogel2015-11-142-0/+68
| | | |\ \ \ \ \ \ \ \
| | | | * | | | | | | | Implementation of TIP #438 - Solution using virtual eventstip_438_eventsfvogel2015-11-101-0/+50
| | | | | | | | | | | |
| | | * | | | | | | | | TIP #438 - [.text pendingyupdate] command added, with corresponding new testsfvogel2015-11-144-10/+83
| | | | | | | | | | | |
| | | * | | | | | | | | TIP #438 - [.text yupdate] command added, with corresponding new testsfvogel2015-11-142-7/+52
| | | | | | | | | | | |
| * | | | | | | | | | | Fix [2049429]: Some options aren't picked up from the options database.jan.nijtmans2016-01-128-51/+59
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Bring back DEF_TEXT_SPACING[123], since "0" is not exactly equal to NULL ↵bug_2049429fffjan.nijtmans2016-01-126-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (just to be 100% sure there will not be a behavioral change)
| | * | | | | | | | | | | Merge trunk. jan.nijtmans2016-01-113-6/+24
| | |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | 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.nijtmans2016-01-108-56/+55
| | |\ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | -spacing[123] use TK_OPTION_NULL_OK instead of TK_OPTION_DONT_SET_DEFAULTfvogel2016-01-091-3/+3
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | Removed unused flags argument in Configure function since Tk_ConfigureWidget ↵fvogel2016-01-082-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is no longer used there since last century
| | | * | | | | | | | | | | Use TK_OPTION_NULL_OK instead of TK_CONFIG_NULL_OKfvogel2016-01-083-8/+8
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | Bug [2049429] - Documented TK_OPTION_DONT_SET_DEFAULTfvogel2016-01-081-20/+30
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | (cherry-pick) Backout previous commit: it causes many event-related ↵jan.nijtmans2016-01-082-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test-failures in Tk test suite