Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed disappearing cursor when moving up one line at the boundary of elided ↵ | fvogel | 2015-01-25 | 1 | -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 ↵ | fvogel | 2015-01-24 | 3 | -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 ↵ | fvogel | 2015-01-16 | 1 | -20/+24 |
| | | | | IsStartOfNotMergedLine. Also, tried to better explain in comments. | ||||
* | More accurate comment | fvogel | 2015-01-16 | 1 | -1/+1 |
| | |||||
* | Merged core-8-5-branch | fvogel | 2015-01-12 | 1 | -0/+34 |
|\ | |||||
| * | Improved scrolling for text under Cocoa; thanks to Marc Culler for patch. | Kevin Walzer | 2015-01-04 | 1 | -0/+34 |
| | | |||||
* | | Fixed typo in comment | fvogel | 2015-01-12 | 1 | -2/+2 |
| | | |||||
* | | Factorized a bit the code, making use of a new function ↵ | fvogel | 2015-01-01 | 1 | -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 ↵ | fvogel | 2014-12-30 | 1 | -5/+5 |
| | | | | | | | | the previous line is elided ([53f96d9a97] was not fully correct). | ||||
* | | Reverted [53f96d9a97] since this commit was not correct. | fvogel | 2014-12-30 | 1 | -3/+5 |
| | | |||||
* | | A logical line is merged with its previous line if and only if the eol of ↵ | fvogel | 2014-12-30 | 1 | -5/+8 |
| | | | | | | | | the previous line is elided ([926d2c3900] was not fully correct). | ||||
* | | Better fix than [9f0edc127f], now takes merged lines into account. | fvogel | 2014-12-30 | 1 | -3/+1 |
| | | |||||
* | | Reverted [9f0edc127f] since this commit was not correct. | fvogel | 2014-12-30 | 1 | -2/+1 |
| | | |||||
* | | Reverted [8568be1258] since this commit was not correct. | fvogel | 2014-12-30 | 1 | -2/+1 |
| | | |||||
* | | Fixed comments in TextChanged | fvogel | 2014-12-30 | 1 | -4/+4 |
| | | |||||
* | | Fixed comment in TkTextIndexYPixels | fvogel | 2014-12-30 | 1 | -2/+2 |
| | | |||||
* | | Polishing FindDLine - Avoid use of TkTextFindDisplayLineEnd when not really ↵ | fvogel | 2014-12-30 | 1 | -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 ↵ | fvogel | 2014-12-29 | 1 | -0/+21 |
| | | | | | | | | really is at the beginning of a display line. | ||||
* | | Further fixed text see with indices in elided lines, [5f352f3a71] was not ↵ | fvogel | 2014-12-28 | 1 | -1/+3 |
| | | | | | | | | always correct | ||||
* | | Further fixed text count -ypixels with indices in elided lines, [30d6b995dc] ↵ | fvogel | 2014-12-28 | 1 | -14/+30 |
| | | | | | | | | was not always correct | ||||
* | | Fixed Bad counting of the total number of vertical pixels in the text ↵ | fvogel | 2014-12-28 | 1 | -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 TkTextUpdateOneLine | fvogel | 2014-12-28 | 1 | -35/+35 |
| | | |||||
* | | Cherrypicked bug fix for Bug [c199ef90a6] - Wrong index returned by @x,y ↵ | fvogel | 2014-12-23 | 1 | -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 ↵ | fvogel | 2014-12-21 | 1 | -1/+3 |
| | | | | | | | | in TkTextFindDisplayLineEnd | ||||
* | | Fixed comment | fvogel | 2014-12-20 | 1 | -2/+2 |
| | | |||||
* | | Fixed vertical scrolling with elided lines. MeasureUp was not measuring ↵ | fvogel | 2014-12-17 | 1 | -0/+2 |
| | | | | | | | | fully correctly. | ||||
* | | At least one display line is supposed to change when calling TkTextChanged. | fvogel | 2014-12-14 | 1 | -0/+13 |
| | | |||||
* | | More complete comment | fvogel | 2014-12-10 | 1 | -1/+2 |
| | | |||||
* | | Merged from branch bug-7703f947aa | fvogel | 2014-12-10 | 1 | -10/+58 |
|\ \ | |||||
| * | | Fixed TextChanged caller of FindDLine for correct taking into account of ↵ | fvogel | 2014-12-10 | 1 | -10/+58 |
| | | | | | | | | | | | | elided newlines | ||||
* | | | Fixed indentation in FindDLine | fvogel | 2014-12-10 | 1 | -17/+17 |
| | | | |||||
* | | | Merged from branch bug-7703f947aa | fvogel | 2014-12-07 | 1 | -0/+24 |
|\ \ \ | |/ / | |||||
| * | | Fixed text yview scroll pixels|lines with elided lines | fvogel | 2014-12-07 | 1 | -0/+24 |
| | | | |||||
* | | | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵ | fvogel | 2014-12-06 | 1 | -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 ↵ | fvogel | 2014-12-06 | 1 | -1/+2 |
| | | | | | | | | | | | | is not elided | ||||
* | | | Merged from branch bug-7703f947aa | fvogel | 2014-12-05 | 1 | -3/+6 |
|\ \ \ | |/ / | |||||
| * | | Fixed text count -ypixels with indices in elided lines | fvogel | 2014-12-05 | 1 | -3/+6 |
| | | | |||||
* | | | Fixed bad comment resulting from copy/paste between functions | fvogel | 2014-12-05 | 1 | -2/+1 |
| | | | |||||
* | | | indexPtr->byteIndex == 0 is the beginning of a display line only if indexPtr ↵ | fvogel | 2014-12-05 | 1 | -1/+2 |
| | | | | | | | | | | | | is not elided | ||||
* | | | Merged from branch bug-7703f947aa | fvogel | 2014-12-05 | 1 | -3/+5 |
|\ \ \ | |/ / | |||||
| * | | Fixed text count -xpixels with indices in elided lines | fvogel | 2014-12-05 | 1 | -3/+5 |
| | | | |||||
* | | | Merged from branch bug-7703f947aa | fvogel | 2014-12-03 | 1 | -51/+67 |
|\ \ \ | |/ / | |||||
| * | | Fixed text see command for elided target indices. | fvogel | 2014-12-03 | 1 | -44/+51 |
| | | | |||||
| * | | Changed variable name for a better one | fvogel | 2014-12-03 | 1 | -7/+7 |
| | | | |||||
| * | | Checked dlineinfo caller of FindDLine, comments added | fvogel | 2014-12-03 | 1 | -0/+9 |
| | | | |||||
* | | | Merged from branch bug-7703f947aa | fvogel | 2014-12-03 | 1 | -18/+16 |
|\ \ \ | |/ / | |||||
| * | | Fixed indentation and typos in comments | fvogel | 2014-12-03 | 1 | -18/+16 |
| | | | |||||
* | | | Merged from branch bug-7703f947aa | fvogel | 2014-11-30 | 1 | -41/+38 |
|\ \ \ | |/ / | |||||
| * | | Fixed FindDLine again (the previous fix [575b376065] was an improvement ↵ | fvogel | 2014-11-30 | 1 | -48/+51 |
| | | | | | | | | | | | | despite it did not fix all cases), see case 'C' in bug [7703f947aa] | ||||
* | | | Merged from branch bug-7703f947aa | fvogel | 2014-11-30 | 1 | -2/+16 |
|\ \ \ | |/ / |