summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
Commit message (Collapse)AuthorAgeFilesLines
* Formatting and even more size_t usage.jan.nijtmans2020-05-251-1/+1
|
* More progressjan.nijtmans2020-05-241-7/+7
|
* More progressjan.nijtmans2020-05-221-35/+23
|\
* | More progressjan.nijtmans2020-05-211-11/+24
|/
* Merge 8.6jan.nijtmans2020-05-191-3/+3
|\
| * New (internal) function TkUtfPrev(). This function can handle 4-byte ↵jan.nijtmans2020-05-191-3/+3
| | | | | | | | (illegal) byte-sequences, arising when pasting Emoji on a Text widget on MacOS (for example)
* | Much more WIP: Appears to be working on UNIX, and for a bit part on Windows too.jan.nijtmans2019-12-201-13/+13
| |
* | Fix [c8ccd1899c]: Pressing the up arrow key on the first line of a [text] ↵fvogel2019-08-211-2/+17
|\ \ | |/ | | | | does not move the cursor to 1.0
| * Fix [c8ccd1899c]: Pressing the up arrow key on the first line of a [text] ↵fvogel2019-08-211-2/+17
| |\ | | | | | | | | | does not move the cursor to 1.0
| | * Revert irrelevant blank changesfvogel2019-05-111-1/+1
| | |
| | * Document what's happening with this bugfix and optimize (exit the while loop ↵fvogel2019-04-191-0/+8
| | | | | | | | | | | | early).
| | * Ticket [c8ccd1899c]. Make the guard code in proc ::tk::TextUpDownLine work ↵fvogel2019-04-141-3/+10
| | | | | | | | | | | | as intended when moving the cursor downwards. Also, fix the bug in the index returned by the displayline modifier: the first displayed index shall be returned when the index calculated by the displayline modifier would be before the start of the displayed text.
| * | CONST -> const. Eliminate unnecessary type-casts and end-of-line spacingjan.nijtmans2019-06-251-9/+9
| |/
* | Another round of (internal) int|long -> size_t replacements, at least when ↵jan.nijtmans2018-10-161-3/+3
| | | | | | | | compiling against Tcl 9.0 headers.
* | more size_t related code cleanupjan.nijtmans2018-10-041-1/+1
| |
* | Header include reform: Since "tkInt.h" already contains header files like ↵jan.nijtmans2018-09-061-1/+1
| | | | | | | | | | <stdlib.h>, <string.h> and <ctype.h>, we don't have to include those in every separate C-file. Just depend on tkInt.h to provide it. This mainly affects ttk, since most other files already adhered to this.
* | Merge 8.6jan.nijtmans2018-08-101-1/+1
|\ \ | |/
| * Eliminate type-casts, by using size_t type internally in more situations. No ↵jan.nijtmans2018-08-101-1/+1
| | | | | | | | functional changes
* | Merge core-8-6-branchjan.nijtmans2018-04-111-6/+6
|\ \ | |/
| * Improved surrogate handling for TCL_UTF_MAX=3|4. (backported from ↵jan.nijtmans2018-04-111-6/+6
| | | | | | | | androwish). Slight optimizations.
* | merge core-8-6-branchjan.nijtmans2017-01-181-1/+1
|\ \ | |/
| * Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵jan.nijtmans2017-01-181-1/+1
| | | | | | | | separate decrement and compare is necessary. This allows (in the future) the same code to work when refCount becomes unsigned (which at least doubles the range). No functional change.
* | Fix [6c0d7aec67]: unicode text input Windows 8jan.nijtmans2016-09-291-4/+4
|\ \ | |/
| * Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-191-4/+4
| |\ | | | | | | | | | places where Unicode surrogate handling could be improved.
| | * More simplificationsjan.nijtmans2016-09-191-2/+2
| | |
| | * Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-161-12/+4
| | | | | | | | | | | | needing less #ifdef's
| | * Patch from Christian Werner, for evaluationjan.nijtmans2016-09-161-2/+10
| |/ |/|
* | Eliminate use of Tcl_SetResult(), and CONST -> constjan.nijtmans2016-03-151-9/+9
|/
* Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or ↵fvogel2015-07-131-1/+1
|\ | | | | | | selecting, moving the cursor...) in elided text
| * Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or ↵fvogel2015-07-101-1/+1
| | | | | | | | selecting, moving the cursor...) in elided text
* | [562118ce41] Fix wordstart modifier handling of multi-byte charsdgp2015-04-091-5/+14
|\ \ | |/
| * [562118ce41] Fix wordstart modifier handling of multi-byte charsdgp2015-04-091-5/+14
| |\
| | * Fix typo in commentfvogel2015-04-071-1/+1
| | |
| | * Fix wordstart modifier for UTF-8 text - Bug [562118ce41]fvogel2015-04-071-4/+13
| | |
* | | [e4ed00a954] Fixed crash with display wordstartdgp2015-04-091-1/+1
|\ \ \ | |/ /
| * | Fixed crash with display wordstart - Bug [e4ed00a954]fvogel2015-04-081-1/+1
| |/
* | Merge bug fixes from fvogel's text-elided branchdgp2015-02-061-0/+87
|\ \ | |/
| * merge 8.5dgp2015-02-061-2/+2
| |\
| * | TkTextIndexCount is counting chars. Fix these calls where bytes counting is ↵fvogel2015-01-241-0/+87
| | | | | | | | | | | | needed. Among other issues, this fixes horizontal scrolling when typing text at the end of a line containing multi-byte characters.
* | | [c9535cd7ce] GetIndex() failed to route all successful exits through code ↵dgp2015-02-061-2/+2
|\ \ \ | | |/ | |/| | | | that writes a result through the canCachePtr.
| * | [c9535cd7ce] GetIndex() failed to route all successful exits through codedgp2015-02-061-2/+2
| |/ | | | | that writes a result through the canCachePtr.
* | Remove unneeded SetOptionFromAny and SetTextIndexFromAny. They were only ↵jan.nijtmans2013-02-261-15/+1
| | | | | | | | needed to prevent a panic in Tcl, but Tcl now generates a nice error-message in stead of panicing.
* | [Bug 3588824]: bug in image index handling for weird image namesdgp2012-12-041-3/+13
|\ \ | |/
| * [Bug 3588824]: bug in image index handling for weird image namesdgp2012-12-041-3/+13
| |\
| | * [Bug 3588824]: bug in image index handling for weird image namesfvogel2012-11-221-3/+12
| | |
* | | more auditing of error codesdkf2012-07-301-5/+4
| | |
* | | Working towards making the error codes more consistent.dkf2012-07-301-1/+1
| | |
* | | Much more cleaning up of result handling.dkf2012-07-231-9/+11
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/