summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Different approach to stubs for the TkpScanWindowId() declaration.dgp2015-02-125-34/+38
| | | Man, what an inflexible maintenance chore this stuff is.
* Silence some compiler warningsdgp2015-02-126-6/+19
|
* Merged branch bug-382da038c9fvogel2015-02-111-14/+0
|\
| * Stop panic (Bad tag priority being toggled on) - Bug [382da038c9]bug_382da038c9fvogel2015-02-081-14/+0
| |
* | [6286e04179] Backport [5f8258ad2a] to stop `make test` segfaults.dgp2015-02-111-2/+11
| |
* | Fixed crash in 'text see' - Bug [e0f1c380bd]fvogel2015-02-091-20/+23
|/
* Add support for an 'M' binding substitution that is replaced with the number ↵Joe Mistachkin2015-02-061-2/+10
|\ | | | | | | of script-based binding patterns matched so far for the event.
| * Merge updates from core-8-5-branch.bindScriptCountJoe Mistachkin2015-02-052-13/+37
| |\
| * \ Merge updates from core 8.5 branch.Joe Mistachkin2014-11-1143-412/+467
| |\ \
| * | | Add support for an 'M' binding substitution that is replaced with the number ↵Joe Mistachkin2012-11-161-2/+10
| | | | | | | | | | | | | | | | of script-based binding patterns matched so far for the event.
* | | | merge 8.5dgp2015-02-063-6/+6
|\ \ \ \
| * | | | [c9535cd7ce] GetIndex() failed to route all successful exits through codedgp2015-02-061-2/+2
| | | | | | | | | | | | | | | that writes a result through the canCachePtr.
| * | | | [2b6778efe8] handle sscanf() EOF errors.dgp2015-02-061-2/+2
| | | | |
| * | | | [a6c2807c13] Don't let forgotten slave trick us into layout computationsdgp2015-02-061-2/+2
| | |_|/ | |/| | | | | | outside the layout grid.
* | | | Merged core-8-5-branchfvogel2015-02-052-11/+1
|\ \ \ \ | |/ / /
| * | | [d186605d05] Stop invalid read beyond objv.dgp2015-02-051-1/+1
| | | |
| * | | Remove Mac-specific idle handler in tkTextDisp.c that caused delay in text ↵Kevin Walzer2015-02-021-10/+0
| | | | | | | | | | | | | | | | redraw during scrolling; no longer needed
* | | | Fixed disappearing cursor when moving up one line at the boundary of elided ↵fvogel2015-01-251-9/+5
| | | | | | | | | | | | | | | | 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-243-6/+94
| | | | | | | | | | | | | | | | 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-121-0/+34
|\ \ \ \ | |/ / /
| * | | Improved scrolling for text under Cocoa; thanks to Marc Culler for patch.Kevin Walzer2015-01-041-0/+34
| | | |
* | | | Fixed typo in commentfvogel2015-01-121-2/+2
| | | |
* | | | 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-281-1/+3
| | | | | | | | | | | | | | | | always correct
* | | | Further fixed text count -ypixels with indices in elided lines, [30d6b995dc] ↵fvogel2014-12-281-14/+30
| | | | | | | | | | | | | | | | was not always correct
* | | | Fixed Bad counting of the total number of vertical pixels in the text ↵fvogel2014-12-281-0/+14
| | | | | | | | | | | | | | | | 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-231-1/+6
| | | | | | | | | | | | | | | | 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-211-1/+3
| | | | | | | | | | | | | | | | in TkTextFindDisplayLineEnd
* | | | Fixed commentfvogel2014-12-201-2/+2
| | | |
* | | | Fixed vertical scrolling with elided lines. MeasureUp was not measuring ↵fvogel2014-12-171-0/+2
| | | | | | | | | | | | | | | | fully correctly.
* | | | 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-101-10/+58
|\ \ \ \
| * | | | 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-071-0/+24
|\ \ \ \ \ | |/ / / /
| * | | | Fixed text yview scroll pixels|lines with elided linesfvogel2014-12-071-0/+24
| | | | |