summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for an 'M' binding substitution that is replaced with the number ↵Joe Mistachkin2015-02-064-3/+51
|\ | | | | | | of script-based binding patterns matched so far for the event.
| * Add support for an 'M' binding substitution that is replaced with the number ↵Joe Mistachkin2015-02-064-2/+45
| |\ | | | | | | | | | of script-based binding patterns matched so far for the event.
| | * Merge updates from core-8-5-branch.bindScriptCountJoe Mistachkin2015-02-0517-1919/+2157
| | |\
| | * \ Merge updates from core 8.5 branch.Joe Mistachkin2014-11-11295-2733/+3516
| | |\ \
| | * | | Add docs and tests.Joe Mistachkin2012-11-162-0/+29
| | | | |
| | * | | Add support for an 'M' binding substitution that is replaced with the number ↵Joe Mistachkin2012-11-162-2/+16
| | | | | | | | | | | | | | | | | | | | of script-based binding patterns matched so far for the event.
* | | | | Merge bug fixes from fvogel's text-elided branchdgp2015-02-067-213/+882
|\ \ \ \ \ | |/ / / /
| * | | | Merge bug fixes from fvogel's text-elided branchdgp2015-02-067-217/+879
| |\ \ \ \
| | * \ \ \ merge 8.5dgp2015-02-063-6/+6
| | |\ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Merged core-8-5-branchfvogel2015-02-059-1855/+2008
| | |\ \ \ \ | | | | |_|/ | | | |/| |
| | * | | | Fixed disappearing cursor when moving up one line at the boundary of elided ↵fvogel2015-01-252-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | lines. Factorized the code again in the process, using function IsStartOfNotMergedLine when possible.
| | * | | | TkTextIndexCount is counting chars. Fix these calls where bytes counting is ↵fvogel2015-01-244-6/+117
| | | | | | | | | | | | | | | | | | | | | | | | needed. Among other issues, this fixes horizontal scrolling when typing text at the end of a line containing multi-byte characters.
| | * | | | Factorized the code a bit more, making use of function ↵fvogel2015-01-161-20/+24
| | | | | | | | | | | | | | | | | | | | | | | | IsStartOfNotMergedLine. Also, tried to better explain in comments.
| | * | | | More accurate commentfvogel2015-01-161-1/+1
| | | | | |
| | * | | | Merged core-8-5-branchfvogel2015-01-122-92/+34
| | |\ \ \ \
| | * \ \ \ \ Merged core-8-5-branchfvogel2015-01-125-17/+88
| | |\ \ \ \ \
| | * | | | | | Fixed typo in commentfvogel2015-01-121-2/+2
| | | | | | | |
| | * | | | | | Merged core-8-5-branch to text-elided branchfvogel2015-01-026-66/+140
| | |\ \ \ \ \ \
| | * | | | | | | Reverted [13d2fcd25d] and [8dfc0f1731] since they are no longer needed ↵fvogel2015-01-021-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thanks to [8d7a4443f7].
| | * | | | | | | Factorized a bit the code, making use of a new function ↵fvogel2015-01-011-40/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IsStartOfNotMergedLine when possible, instead of repeating the same code. Also, removed possible bugs linked to wrong testing conditions (indexPtr->byteIndex [!=]= 0)
| | * | | | | | | A logical line is merged with its previous line if and only if the eol of ↵fvogel2014-12-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the previous line is elided ([53f96d9a97] was not fully correct).
| | * | | | | | | Reverted [53f96d9a97] since this commit was not correct.fvogel2014-12-301-3/+5
| | | | | | | | |
| | * | | | | | | A logical line is merged with its previous line if and only if the eol of ↵fvogel2014-12-301-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the previous line is elided ([926d2c3900] was not fully correct).
| | * | | | | | | Better fix than [9f0edc127f], now takes merged lines into account.fvogel2014-12-301-3/+1
| | | | | | | | |
| | * | | | | | | Reverted [9f0edc127f] since this commit was not correct.fvogel2014-12-301-2/+1
| | | | | | | | |
| | * | | | | | | Reverted [8568be1258] since this commit was not correct.fvogel2014-12-301-2/+1
| | | | | | | | |
| | * | | | | | | Fixed comments in TextChangedfvogel2014-12-301-4/+4
| | | | | | | | |
| | * | | | | | | Fixed comment in TkTextIndexYPixelsfvogel2014-12-301-2/+2
| | | | | | | | |
| | * | | | | | | Polishing FindDLine - Avoid use of TkTextFindDisplayLineEnd when not really ↵fvogel2014-12-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary (performance reasons, and avoids LayoutDLine/FreeDLine which maps/unmaps embedded windows unnecessarily)
| | * | | | | | | CalculateDisplayLineHeight checks, in debug mode, that the index it receives ↵fvogel2014-12-291-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | really is at the beginning of a display line.
| | * | | | | | | Further fixed text see with indices in elided lines, [5f352f3a71] was not ↵fvogel2014-12-282-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | always correct
| | * | | | | | | Further fixed text count -ypixels with indices in elided lines, [30d6b995dc] ↵fvogel2014-12-282-15/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was not always correct
| | * | | | | | | Fixed Bad counting of the total number of vertical pixels in the text ↵fvogel2014-12-282-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | widget, resulting in small change of the Y scrollbar size. Happened because CalculateDisplayLineHeight expects an index at start of a display line, which was not always the case.
| | * | | | | | | Fixed indentation in TkTextUpdateOneLinefvogel2014-12-281-35/+35
| | | | | | | | |
| | * | | | | | | Cherrypicked bug fix for Bug [c199ef90a6] - Wrong index returned by @x,y ↵fvogel2014-12-232-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with elided lines at end of text
| | * | | | | | | Fixed test of index being at start of both a logical line and a display line ↵fvogel2014-12-212-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in TkTextFindDisplayLineEnd
| | * | | | | | | Fixed commentfvogel2014-12-201-2/+2
| | | | | | | | |
| | * | | | | | | Fixed vertical scrolling with elided lines. MeasureUp was not measuring ↵fvogel2014-12-172-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fully correctly.
| | * | | | | | | Removed useless statements in tests textDisp-16.42 and textDisp-16.43fvogel2014-12-171-2/+0
| | | | | | | | |
| | * | | | | | | At least one display line is supposed to change when calling TkTextChanged.fvogel2014-12-141-0/+13
| | | | | | | | |
| | * | | | | | | More complete commentfvogel2014-12-101-1/+2
| | | | | | | | |
| | * | | | | | | Merged from branch bug-7703f947aafvogel2014-12-102-14/+66
| | |\ \ \ \ \ \ \
| | | * | | | | | | Fixed textDisp-4.1 and -4.2 - The expected test results were not relevant ↵bug_7703f947aafvogel2014-12-101-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without the update between deletion and insertion
| | | * | | | | | | Fixed TextChanged caller of FindDLine for correct taking into account of ↵fvogel2014-12-101-10/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | elided newlines
| | * | | | | | | | Fixed indentation in FindDLinefvogel2014-12-101-17/+17
| | | | | | | | | |
| | * | | | | | | | Merged from branch bug-7703f947aafvogel2014-12-072-0/+71
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / /
| | | * | | | | | | Fixed text yview scroll pixels|lines with elided linesfvogel2014-12-072-0/+71
| | | | | | | | | |
| | * | | | | | | | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵fvogel2014-12-061-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is not elided. The start of a logical line is not always the start of a display line.
| | * | | | | | | | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵fvogel2014-12-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is not elided
| | * | | | | | | | Merged from branch bug-7703f947aafvogel2014-12-052-3/+34
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / /