summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | 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
| |
* | Fixed bad comment resulting from copy/paste between functionsfvogel2014-12-051-2/+1
| |
* | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵fvogel2014-12-051-1/+2
| | | | | | | | is not elided
* | Merged from branch bug-7703f947aafvogel2014-12-051-3/+5
|\ \ | |/
| * Fixed text count -xpixels with indices in elided linesfvogel2014-12-051-3/+5
| |
* | Merged from branch bug-7703f947aafvogel2014-12-031-51/+67
|\ \ | |/
| * 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
| |
* | Merged from branch bug-7703f947aafvogel2014-12-031-18/+16
|\ \ | |/
| * Fixed indentation and typos in commentsfvogel2014-12-031-18/+16
| |
* | Merged from branch bug-7703f947aafvogel2014-11-301-41/+38
|\ \ | |/
| * Fixed FindDLine again (the previous fix [575b376065] was an improvement ↵fvogel2014-11-301-48/+51
| | | | | | | | despite it did not fix all cases), see case 'C' in bug [7703f947aa]
* | Merged from branch bug-7703f947aafvogel2014-11-301-2/+16
|\ \ | |/
| * Fixed bbox caller of FindDLine, see case 'B' in bug [7703f947aa]fvogel2014-11-301-2/+16
| |
* | Merged from branch bug-7703f947aafvogel2014-11-231-2/+2
|\ \ | |/
| * Fixing FindDLine was not enough in all cases, now fix its callers (see test ↵fvogel2014-11-231-2/+2
| | | | | | | | case 'A' in bug [7703f947aa])
* | Merged from branch bug-7703f947aafvogel2014-11-221-1/+3
|\ \ | |/
| * Fixed bug [7703f947aa] - Wrong refresh of display lines when tagging text as ↵fvogel2014-11-221-1/+3
| | | | | | | | elided
* | Fixed bug [c24b97d905] - text count -displaylines is wrong with elided newlinesfvogel2014-11-212-29/+44
|/
* Fix typos in commentsfvogel2014-11-211-2/+2
|