summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
Commit message (Collapse)AuthorAgeFilesLines
* Re-working of internal Cocoa widget drawing routines, especially when ↵Kevin Walzer2015-04-091-16/+13
| | | | resizing; fix rendering of scrollbar when resized or clipped; cleanup of button metrics; thanks to Marc Culler for extensive patches
* Backing out changes; unexpected issues with window resizing that require ↵Kevin Walzer2015-04-071-13/+16
| | | | further investigation
* Further cleanup of scrolling, drawing, resize in Cocoa; thanks to Marc ↵Kevin Walzer2015-04-071-16/+13
| | | | Culler for patches
* Remove Mac-specific display timer from tkTextDisp.c; no longer neededKevin Walzer2015-02-151-42/+0
|
* Silence some compiler warningsdgp2015-02-121-1/+1
|
* [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
|
* Merged core-8-5-branchfvogel2015-02-051-10/+0
|\
| * 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-241-6/+4
| | | | | | | | 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 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
| | |
* | | 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-051-3/+6
|\ \ \ | |/ /
| * | Fixed text count -ypixels with indices in elided linesfvogel2014-12-051-3/+6
| | |
* | | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵fvogel2014-12-051-1/+2
|/ / | | | | | | is not elided
* | Fixed text count -xpixels with indices in elided linesfvogel2014-12-051-3/+5
| |
* | Fixed text see command for elided target indices.fvogel2014-12-031-44/+51
| |
* | Changed variable name for a better onefvogel2014-12-031-7/+7
| |
* | Checked dlineinfo caller of FindDLine, comments addedfvogel2014-12-031-0/+9
| |