summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete comments. The line they comment was kicked out of the code ↵fvogel2017-01-151-1/+2
| | | | | in [946e946700]. FossilOrigin-Name: 6f29d680dd4dbab83e00d381bc3aa7e04c66ff83
* Reverted [7ed6460f] since it fixes an issue unrelated to the bug presented ↵fvogel2017-01-071-1/+1
| | | | | in [3df559ef7c] - Negative bbox width on OS X. FossilOrigin-Name: 0a5582b9c51bd8286c3e1ff453cf33c60f13cd48
* Do everything the other way round. Leave things how they were on OS X ↵fvogel2016-12-301-3/+7
| | | | | (revert [a076cf64] and [42e0339e]), and fix TkpDrawCharsInContext() on Win and Linux in case these platforms at some point of time decide to define TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT to true FossilOrigin-Name: afe41bdda6ee8fbe78e15ae731ae531dd2d98f0d
* On Windows with TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT being both ↵fvogel2016-12-231-7/+3
| | | | | defined for testing purposes, rendering of the text was incorrect because some chunks were superimposed (this was only a display issue, x and width of all chunks were already correct). Fix this. FossilOrigin-Name: 42e0339eca535cb96c316e8f30c842861f6265c0
* On Windows with TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT being both ↵fvogel2016-12-231-1/+1
| | | | | defined for testing purposes, four tests (textDisp-18.6, 20.2, 20.3 and 20.4) were failing. Fix this. FossilOrigin-Name: 7ed6460f46914376270427acd6473a05097c0a7d
* Fix [3df559ef7c] - Negative bbox width on OS X. Tested OK on Windows with ↵fvogel2016-12-231-1/+1
| | | | | TK_LAYOUT_WITH_BASE_CHUNKS being defined. FossilOrigin-Name: 67b7d4f1f65fe8e79911e082b024d5bec8401f91
* Fixed [1082213fff] - word wrapping should trim excess spacesfvogel2016-10-091-0/+18
|\ | | | | FossilOrigin-Name: bbce007573599ad4333786347a4bde8429a4fff3
| * Added explanatory commentfvogel2016-09-301-0/+3
| | | | | | FossilOrigin-Name: b68a728085feeac250f35a72234dd2998a43916c
| * Explained why only spaces are trimmed and not tabsfvogel2016-09-291-0/+3
| | | | | | FossilOrigin-Name: 8ff7977ca1b471754ccd62028b39b1e46df7fcb3
| * Slightly better fixfvogel2016-09-281-11/+11
| | | | | | FossilOrigin-Name: e84cb09abc25f37dae6100612cbc28e32588058b
| * Fixed [1082213fff] - word wrapping should trim excess spacesfvogel2016-09-281-0/+12
| | | | | | FossilOrigin-Name: 69686423dc4386b839edbbfbb0dede94724a0343
* | Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-191-2/+2
|\ \ | |/ |/| | | | | places where Unicode surrogate handling could be improved. FossilOrigin-Name: 158c61aa5ffd697b194a5f4d113c4966bb194828
| * More simplificationsjan.nijtmans2016-09-191-1/+1
| | | | | | FossilOrigin-Name: 2ed5f2933ad1577498707f50803d1ce1493260a6
| * Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-161-2/+2
| | | | | | | | | | needing less #ifdef's FossilOrigin-Name: 5dd9f6822d98f0122b76ba5b70d26973278421cd
| * [5660d11c3f] Fix new -lmargincolordgp2016-07-281-7/+7
| |\ | |/ |/| FossilOrigin-Name: 18cdcb0b1eb07403882c760d5ca3f8b905473136
| * Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-05-011-13/+4
| |\ | | | | | | | | | | | | unsafe FossilOrigin-Name: 1419e83a8153110cc7618a08620d5037e3e61f71
| * | Merged tip-443 following acceptation of the TIP by TCT vote (cherrypicked ↵fvogel2016-03-201-6/+100
| | | | | | | | | | | | | | | [cb3354b298]) FossilOrigin-Name: 59b276c74ace161a610db6eda28199499ca39bd0
| * | Eliminate use of Tcl_SetResult(), and CONST -> constjan.nijtmans2016-03-151-2/+2
| | | | | | | | | FossilOrigin-Name: a7e160622dd32e306ed6ba0cbb5ede2b8198cb48
* | | Fixed [5660d11c3f] - text tag -background option overrules -lmargincolorfvogel2016-07-261-7/+7
| |/ |/| | | FossilOrigin-Name: 316b16bd9e61c8206ed42806240c40958876536c
* | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-04-211-13/+4
| | | | | | | | | | unsafe FossilOrigin-Name: 1795939c15c48750dfa936fbaf262e45b5d9800d
* | Backed out anything dealing with stippling, in accordance with discussion ↵fvogel2016-03-081-16/+4
| | | | | | | | | | about TIP #443 FossilOrigin-Name: 0f9dcbfa8f41d868ce8aee911c732a2d6a8c2129
* | trunk merged to branch tip-443fvogel2016-03-011-1/+1
|\ \ | |/ | | FossilOrigin-Name: d89f2e1b6baacdb7290b4c39b4f8952350f2f5ae
| * Fixed error in commentfvogel2016-02-111-1/+1
| | | | | | FossilOrigin-Name: a3d4e5de178b14f0a7770095aa81822e857843b1
* | -lmargincolor tag configuration option: implementation slightly optimized ↵fvogel2016-02-111-3/+2
| | | | | | | | | | since Tk_Fill3DRectangle is robust with respect to negative widths FossilOrigin-Name: 43ba967d40489c2547a41766bc3d8f65eb86b995
* | -rmargincolor tag configuration option: implementationfvogel2016-02-101-4/+25
| | | | | | FossilOrigin-Name: 145239e92ac0c35b99705182181992ac1a5e0ef5
* | -lmargincolor tag configuration option: implementationfvogel2016-02-101-0/+26
| | | | | | FossilOrigin-Name: 3429435bc23ba2319003914d745412439ec8bcec
* | -overstrikefg tag configuration option: implementationfvogel2016-02-091-3/+17
| | | | | | FossilOrigin-Name: 1ce570fffedfaf6558ef2e0cd63689cc08b6c958
* | -underlinefg tag configuration option: implementationfvogel2016-02-091-2/+17
| | | | | | FossilOrigin-Name: 6a21622c7ed5474ca54d0d7a8c02d646452067b3
* | -selectfgstipple tag configuration option: implementationfvogel2016-02-091-2/+8
| | | | | | FossilOrigin-Name: 008f3c626bdc7a433f0d13466e3ad7a88ae4f772
* | -selectbgstipple tag configuration option: implementationfvogel2016-02-091-2/+8
| | | | | | FossilOrigin-Name: 8c17f1a76a54894b6fbed31d9797b087266c36b0
* | -selectforeground tag configuration option: implementationfvogel2016-02-091-2/+8
| | | | | | FossilOrigin-Name: 6f8935b9539b05e578862a889a499e83ffc6d317
* | -selectbackground tag configuration option: implementationfvogel2016-02-091-0/+13
|/ | | FossilOrigin-Name: 1a31aee1b5253355b95d0ace26f4edeb56294a27
* Fixed (with a real fix this time) bug [06c1433906] - Text widget crash ↵fvogel2016-02-081-16/+41
|\ | | | | | | | | during delete FossilOrigin-Name: 48cf3656d9ace79d031eefc0dec9083d6f610e0c
| * With the real fix in FindDLine ([717e12ee]) there is no need anymore of the ↵fvogel2016-02-081-3/+0
| | | | | | | | | | emergency patch [c3c09f82]. FossilOrigin-Name: bd0c8abafb8319436dc90eddab715ddb71ff0535
| * Made FindDLine fully match its header description.fvogel2016-02-081-3/+30
| | | | | | FossilOrigin-Name: 717e12eed01d0072d30214ad6542e4021789e62f
| * More comments in FindDLine, with slightly optimized code to achieve the same ↵fvogel2016-02-081-3/+11
| | | | | | | | | | functionality. FossilOrigin-Name: 62c485b075018ca09c33d510839021f37cc27b2d
| * Reverted [311ef109] and [1847c858] because they are no longer needed to fix ↵fvogel2016-02-081-8/+1
| | | | | | | | | | bug [2f78c7c5ea]. The corresponding test textDisp-9.14 still passes. FossilOrigin-Name: 8dad5742746cb3517d509c82b05f3697dcc8e11c
* | Corrected indentation + added an explanatory comment.fvogel2016-02-081-1/+4
| | | | | | FossilOrigin-Name: 1121252fdb219876297d137179b92b4846937596
* | Fix [06c14339060ba9ae]: Text widget crash during delete. Thanks to François ↵jan.nijtmans2016-02-081-5/+3
|\ \ | |/ | | | | | | Vogel for the implementation and Brian Griffing for all his help getting this figured out. FossilOrigin-Name: 5f225ec142d4a06465abb681b0937a769d695e25
| * while is better than if because it deals with wrapped lines then.fvogel2016-02-071-1/+1
| | | | | | FossilOrigin-Name: 48ff924b8b44926ecc4bcd28f29e4fe8c570d2a9
| * Hopefully a better fix for [06c1433906] - Text widget crashfvogel2016-02-071-5/+3
| | | | | | FossilOrigin-Name: c3c09f825187eb33c3ea0e3ea498e682e7400f01
| * [06c1433906] Possible fix for text widget crashes.dgp2016-02-041-0/+5
| | | | | | FossilOrigin-Name: e1540e0f58cb1281f760980c932b8f48ddc5c5d1
* | Fix crashing test case, textDisp-8.13dgp2016-02-051-0/+5
| | | | | | FossilOrigin-Name: 4fd3215080fe3e94d8d380816a74f40ff67e1262
* | rebase "tip-438" branch to latest trunk.jan.nijtmans2016-01-071-2/+96
|\ \ | | | | | | FossilOrigin-Name: 9f400abe1ce93ca9fbcaccb3ca5dbb635fbcba70
| * \ Merged core-8-5-branchfvogel2015-12-261-1/+8
| |\ \ | | |/ | | | FossilOrigin-Name: 078644f165f19a657f1bb733b3ec6ff5ea72348c
| * | [.text sync -command $cmd] schedules execution of $cmd by the event loop at ↵fvogel2015-12-261-11/+11
| | | | | | | | | | | | | | | idle time FossilOrigin-Name: 86e88288a65c057a65da384739b7c7b9d5362fe6
| * | There could be false negatives with [.text pendingsync] when line metrics ↵fvogel2015-12-201-2/+3
| | | | | | | | | | | | | | | calculation is in the middle of a long line. FossilOrigin-Name: 5fc264266884c819ee09370f4e390d7718e8ebb1
| * | Merged core-8-5-branchfvogel2015-12-131-13/+14
| |\ \ | | | | | | | | FossilOrigin-Name: 5a61887fac5394bd031fd99c9a84af415b80af51
| * \ \ Merged core-8-5branchfvogel2015-12-091-24/+47
| |\ \ \ | | | | | | | | | | FossilOrigin-Name: 40704173372fef30b2ef0eb05c43f95abfbf8ad1
| * | | | [.text pendingsync] returns a booleanfvogel2015-11-281-6/+7
| | | | | | | | | | | | | | | FossilOrigin-Name: c1620a3030fca39c67871b9fafefe370957e7e90