summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
Commit message (Collapse)AuthorAgeFilesLines
* Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-191-4/+4
|\ | | | | | | | | places where Unicode surrogate handling could be improved. FossilOrigin-Name: 158c61aa5ffd697b194a5f4d113c4966bb194828
| * More simplificationsjan.nijtmans2016-09-191-3/+3
| | | | | | FossilOrigin-Name: 2ed5f2933ad1577498707f50803d1ce1493260a6
| * Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-161-9/+1
| | | | | | | | | | needing less #ifdef's FossilOrigin-Name: 5dd9f6822d98f0122b76ba5b70d26973278421cd
| * Patch from Christian Werner, for evaluationjan.nijtmans2016-09-161-0/+8
| | | | | | FossilOrigin-Name: 050a13caf65cb80433c66bab5db0ab9878b14f07
| * Made text widget's default undo false again.pspjuth2016-08-301-1/+1
| |\ | | | | | | FossilOrigin-Name: 549d2f56757408f36521a63f0c4ab84df5a8a6c0
| * \ Rebased to trunk since TIP #449 was accepted for merging to trubnk only, not ↵fvogel2016-08-291-1/+1
| |\ \ | | | | | | | | | | | | | | | | to core-8-6-branch FossilOrigin-Name: d0aea8f2da975441fb11c46e37e8b48e45c3b1d3
| | * \ Whitespace fixesjan.nijtmans2016-06-151-147/+147
| | |\ \ | | | | | | | | | | FossilOrigin-Name: 792b3fcd624219879662cbb3b073ab540c420112
| | * \ \ Fixed [6976e4b3b2] - -undo options not correct for peersfvogel2016-06-111-3/+6
| | |\ \ \ | | | | | | | | | | | | FossilOrigin-Name: 01206c46913ee6670e065d3d2aadb2b6a2008984
| | * \ \ \ Merged TIP #446 accepted by TCT vote. This fixes [1273358] - Ask a text ↵fvogel2016-05-301-18/+94
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | widget for the depth of its undo and redo stacks. FossilOrigin-Name: 18b5c257cd874af3165097b11a16ff90b84e4025
| | * \ \ \ \ Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-05-011-24/+2
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unsafe FossilOrigin-Name: 1419e83a8153110cc7618a08620d5037e3e61f71
| | * \ \ \ \ \ Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peersfvogel2016-04-291-1/+4
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | FossilOrigin-Name: d4b0a69df1e20e0e79bb29f7ee809082ab019354
| | * \ \ \ \ \ \ Fixed [18c08df753] - Change of behaviour for text widget last newlinefvogel2016-03-271-5/+14
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: df0bf7b071d4251f976d9dec412ad7313d66ef6f
| | * | | | | | | | Merged tip-443 following acceptation of the TIP by TCT vote (cherrypicked ↵fvogel2016-03-201-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [cb3354b298]) FossilOrigin-Name: 59b276c74ace161a610db6eda28199499ca39bd0
| | * | | | | | | | Fixed error in commentfvogel2016-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 436f1d5c978bdf84db74ad99159195a5262f7489
| * | | | | | | | | The undo marks identifier is not a member of textPtr->sharedTextPtr. This ↵fvogel2016-07-061-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | makes results of test text-8.22 independant of previous undo/redo actions on other text widgets. FossilOrigin-Name: e45568b519dc7f1c2ce2d5814417036e6f51f1e6
| * | | | | | | | | Removed unintended whitespace changefvogel2016-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 33ccff8f3746f90b0733c10725aaf71dd6e09036
| * | | | | | | | | Return indices making sense at undo/redo return time. The returned ranges ↵fvogel2016-07-041-26/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are optimized (no duplicates, no overlapping ranges). Works but needs polishing. FossilOrigin-Name: 6c03c35d7b0364a583bd3847ebf9630423889fc5
| * | | | | | | | | Merged core-8-6-branchfvogel2016-06-281-147/+147
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / | | |/| | | | | | | FossilOrigin-Name: 1cefcd34869c06cd34e1bd9f976e1e7a50669c0a
| * | | | | | | | | Merged core-8-6-branchfvogel2016-06-111-3/+6
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / | | |/| | | | | | | FossilOrigin-Name: 32c88915079c72fbb2b3ce43f19732351001cb2c
| * | | | | | | | | It is not possible to rely only on the interp result. A list of indices has ↵fvogel2016-06-081-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to be built as a return value to undo/redo because there can be several edits between two separators and all such edits have to report which range of text they changed. Note: this commit does not deal with refcounts, it is very likely wrong in that respect. FossilOrigin-Name: afa23a020ad2ff5a1c6291151d4762e5322bf248
| * | | | | | | | | Possible solution for [1217222] - fvogel2016-06-071-0/+8
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | FossilOrigin-Name: 6cd8c5d95098795e7dabc3c8a4ddbc8906da49fd
* | | | | | | | | fix comment (Thanks, Christian!)jan.nijtmans2016-09-081-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | FossilOrigin-Name: 5d55e1c0ece7e59177f4c2d2387d9521c9afae26
* | | | | | | | Made text widget's default undo false again.pspjuth2016-08-301-1/+1
| |_|/ / / / / |/| | | | | | | | | | | | | FossilOrigin-Name: c8256e859a6613204f4e0c0e8863088a34dc7d56
* | | | | | | Whitespace fixesjan.nijtmans2016-06-151-147/+147
| |/ / / / / |/| | | | | | | | | | | FossilOrigin-Name: 557038bb58379acd0269ab4ded5d421a9befa21c
* | | | | | Fixed [6976e4b3b2] - -undo options not correct for peersfvogel2016-06-081-3/+6
|/ / / / / | | | | | | | | | | FossilOrigin-Name: 3ff41efa170ebc31d8bf577deb2b90a8e8d77069
* | | | | Took comments from Koen Danckaert into account (with my thanks) to simplify ↵fvogel2016-05-171-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | the implementation of TkUndoCanUndo() and TkUndoCanRedo() in tkUndo.c, and in tkText.c to remove direct calls to internals of the undo or redo stack FossilOrigin-Name: b699eb0e2cb0acd16c39095dcf9f632b931614ee
* | | | | Aligned GenerateModifiedEvent() on GenerateUndoStackEvent() regarding ↵fvogel2016-05-121-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | generation of the event for each peer FossilOrigin-Name: ef7364ed74b99bb76753d6223c54fb07112191be
* | | | | Added <<UndoStack>> event, triggering when either the undo stack or the redo ↵fvogel2016-05-121-11/+63
| | | | | | | | | | | | | | | | | | | | | | | | | stack becomes empty or unempty FossilOrigin-Name: 1dfd16153229e1c307063b64f6831aec77710f1a
* | | | | Implementation of TIP #446 - Introspect Undo/Redo Stackfvogel2016-05-121-3/+31
| |_|_|/ |/| | | | | | | FossilOrigin-Name: fe13004f507cc999338f995588785036deacded8
* | | | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-05-011-24/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | unsafe FossilOrigin-Name: 047d31f2fefc23c1b4abc7d4b4477df78bee0220
| * | | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-04-211-24/+2
| | |/ | |/| | | | | | | | | | unsafe FossilOrigin-Name: 1795939c15c48750dfa936fbaf262e45b5d9800d
* | | Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peersfvogel2016-04-051-1/+4
|/ / | | | | FossilOrigin-Name: b34f15b4dc76dc53505e5852fafa6813028eaf2d
* | Fixed [18c08df753] - Change of behaviour for text widget last newlinefvogel2016-03-271-5/+14
|\ \ | | | | | | FossilOrigin-Name: 592d54932adc50a4bc767c386a3a5ecf8926ef98
| * \ End of fix for [18c08df753] - Merged branch bug-2886436fff-option2fvogel2016-03-271-6/+9
| |\ \ | | | | | | | | FossilOrigin-Name: ba761976543b86a4cd3d07fff0e46c88a36ff253
| | * | Tried to be even clearer.fvogel2015-07-141-10/+9
| | | | | | | | | | | | FossilOrigin-Name: 5996f0a4c1973d753ba609a6c4344ffa0662f686
| | * | Fixed bug [2886436fff] - [.txt delete] deletes before start indexfvogel2015-06-291-5/+9
| | | | | | | | | | | | FossilOrigin-Name: 66bd0d4db85507229f683324787c8634ddc6efbb
| * | | Beginning of fix for [18c08df753] - Reverted [296bd4c3], and adjusted ↵fvogel2016-03-271-3/+9
| | | | | | | | | | | | | | | | | | | | textDisp-4.9 accordingly by adding one fixedHeight on the two necessary places in the test result FossilOrigin-Name: 6eebccf4dc511a51083f6221bdee0f1785f055c3
| * | | (cherry-pick) Fix [2049429]: Some options aren't picked up from the options ↵jan.nijtmans2016-01-121-4/+4
| | | | | | | | | | | | | | | | | | | | database. FossilOrigin-Name: 09b95886c7d62aa32b6a1770ec8337156bfbcbe5
* | | | Backed out anything dealing with stippling, in accordance with discussion ↵fvogel2016-03-081-2/+0
| | | | | | | | | | | | | | | | | | | | about TIP #443 FossilOrigin-Name: 0f9dcbfa8f41d868ce8aee911c732a2d6a8c2129
* | | | -rmargincolor tag configuration option: implementationfvogel2016-02-101-1/+2
| | | | | | | | | | | | FossilOrigin-Name: 145239e92ac0c35b99705182181992ac1a5e0ef5
* | | | -lmargincolor tag configuration option: implementationfvogel2016-02-101-1/+2
| | | | | | | | | | | | FossilOrigin-Name: 3429435bc23ba2319003914d745412439ec8bcec
* | | | -overstrikefg tag configuration option: implementationfvogel2016-02-091-0/+1
| | | | | | | | | | | | FossilOrigin-Name: 1ce570fffedfaf6558ef2e0cd63689cc08b6c958
* | | | -underlinefg tag configuration option: implementationfvogel2016-02-091-1/+2
| | | | | | | | | | | | FossilOrigin-Name: 6a21622c7ed5474ca54d0d7a8c02d646452067b3
* | | | -selectfgstipple tag configuration option: implementationfvogel2016-02-091-0/+1
| | | | | | | | | | | | FossilOrigin-Name: 008f3c626bdc7a433f0d13466e3ad7a88ae4f772
* | | | -selectbgstipple tag configuration option: implementationfvogel2016-02-091-0/+1
| | | | | | | | | | | | FossilOrigin-Name: 8c17f1a76a54894b6fbed31d9797b087266c36b0
* | | | -selectforeground tag configuration option: implementationfvogel2016-02-091-1/+6
| | | | | | | | | | | | FossilOrigin-Name: 6f8935b9539b05e578862a889a499e83ffc6d317
* | | | -selectbackground tag configuration option: implementationfvogel2016-02-091-1/+6
| |_|/ |/| | | | | FossilOrigin-Name: 1a31aee1b5253355b95d0ace26f4edeb56294a27
* | | TIP #438 (Ensure Line Metrics are Up-to-Datefvogel2016-01-131-4/+99
|\ \ \ | | | | | | | | FossilOrigin-Name: 15b7aa7e9f78d71518fdece75757f79b69e680f5
| * \ \ rebase "tip-438" branch to latest trunk.jan.nijtmans2016-01-071-4/+99
| |\ \ \ | | | | | | | | | | FossilOrigin-Name: 9f400abe1ce93ca9fbcaccb3ca5dbb635fbcba70
| | * | | Harmonized use of NULL for textPtr->afterSyncCmdfvogel2016-01-051-2/+2
| | | | | | | | | | | | | | | FossilOrigin-Name: 0eb8f1f5e09b86aceeb6a52d9d4ac5ba5cf627cc