summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
Commit message (Collapse)AuthorAgeFilesLines
* Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵jan.nijtmans2017-01-181-8/+4
| | | | 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.
* 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-3/+3
| |
| * Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-161-9/+1
| | | | | | | | needing less #ifdef's
| * Patch from Christian Werner, for evaluationjan.nijtmans2016-09-161-0/+8
| |
| * Made text widget's default undo false again.pspjuth2016-08-301-1/+1
| |\
| * \ Rebased to trunk since TIP #449 was accepted for merging to trunk only, not ↵tip_449fvogel2016-08-291-1/+1
| |\ \ | | | | | | | | | | | | to core-8-6-branch
| | * \ Whitespace fixesjan.nijtmans2016-06-151-147/+147
| | |\ \
| | * \ \ Fixed [6976e4b3b2] - -undo options not correct for peersfvogel2016-06-111-3/+6
| | |\ \ \
| | * \ \ \ 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.
| | * \ \ \ \ Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-05-011-24/+2
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | unsafe
| | * \ \ \ \ \ Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peersfvogel2016-04-291-1/+4
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Fixed [18c08df753] - Change of behaviour for text widget last newlinefvogel2016-03-271-5/+14
| | |\ \ \ \ \ \ \
| | * | | | | | | | Merged tip-443 following acceptation of the TIP by TCT vote (cherrypicked ↵fvogel2016-03-201-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [cb3354b298])
| | * | | | | | | | Fixed error in commentfvogel2016-03-181-1/+1
| | | | | | | | | |
| * | | | | | | | | The undo marks identifier is now 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.
| * | | | | | | | | Removed unintended whitespace changefvogel2016-07-051-1/+1
| | | | | | | | | |
| * | | | | | | | | 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.
| * | | | | | | | | Merged core-8-6-branchfvogel2016-06-281-147/+147
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / | | |/| | | | | | |
| * | | | | | | | | Merged core-8-6-branchfvogel2016-06-111-3/+6
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / | | |/| | | | | | |
| * | | | | | | | | 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.
| * | | | | | | | | Possible solution for [1217222] - [.text edit undo/redo] return ranges of ↵fvogel2016-06-071-0/+8
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | modified characters
* | | | | | | | | fix comment (Thanks, Christian!)jan.nijtmans2016-09-081-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Made text widget's default undo false again.pspjuth2016-08-301-1/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Whitespace fixesjan.nijtmans2016-06-151-147/+147
| |/ / / / / |/| | | | |
* | | | | | Fixed [6976e4b3b2] - -undo options not correct for peersfvogel2016-06-081-3/+6
|/ / / / /
* | | | | Took comments from Koen Danckaert into account (with my thanks) to simplify ↵tip_446fvogel2016-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
* | | | | Aligned GenerateModifiedEvent() on GenerateUndoStackEvent() regarding ↵tip_446_canundofvogel2016-05-121-12/+9
| | | | | | | | | | | | | | | | | | | | generation of the event for each peer
* | | | | Added <<UndoStack>> event, triggering when either the undo stack or the redo ↵fvogel2016-05-121-11/+63
| | | | | | | | | | | | | | | | | | | | stack becomes empty or unempty
* | | | | Implementation of TIP #446 - Introspect Undo/Redo Stackfvogel2016-05-121-3/+31
| |_|_|/ |/| | |
* | | | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-05-011-24/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | unsafe
| * | | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-04-211-24/+2
| | |/ | |/| | | | | | | unsafe
* | | Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peersbug_fd3a4dc111fvogel2016-04-051-1/+4
|/ /
* | Fixed [18c08df753] - Change of behaviour for text widget last newlinefvogel2016-03-271-5/+14
|\ \
| * \ End of fix for [18c08df753] - Merged branch bug-2886436fff-option2bug_18c08df753fvogel2016-03-271-6/+9
| |\ \
| | * | Tried to be even clearer.bug_2886436fff_option2fvogel2015-07-141-10/+9
| | | |
| | * | Fixed bug [2886436fff] - [.txt delete] deletes before start index - This is ↵fvogel2015-06-291-5/+9
| | | | | | | | | | | | | | | | option 2: don't change the behavior of the text widget, but document it better.
| * | | 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
| * | | (cherry-pick) Fix [2049429]: Some options aren't picked up from the options ↵jan.nijtmans2016-01-121-4/+4
| | | | | | | | | | | | | | | | database.
* | | | Backed out anything dealing with stippling, in accordance with discussion ↵fvogel2016-03-081-2/+0
| | | | | | | | | | | | | | | | about TIP #443
* | | | -rmargincolor tag configuration option: implementationfvogel2016-02-101-1/+2
| | | |
* | | | -lmargincolor tag configuration option: implementationfvogel2016-02-101-1/+2
| | | |
* | | | -overstrikefg tag configuration option: implementationfvogel2016-02-091-0/+1
| | | |
* | | | -underlinefg tag configuration option: implementationfvogel2016-02-091-1/+2
| | | |
* | | | -selectfgstipple tag configuration option: implementationfvogel2016-02-091-0/+1
| | | |
* | | | -selectbgstipple tag configuration option: implementationfvogel2016-02-091-0/+1
| | | |
* | | | -selectforeground tag configuration option: implementationfvogel2016-02-091-1/+6
| | | |
* | | | -selectbackground tag configuration option: implementationfvogel2016-02-091-1/+6
| |_|/ |/| |
* | | TIP #438 (Ensure Line Metrics are Up-to-Date) accepted by votefvogel2016-01-131-4/+99
|\ \ \
| * \ \ rebase "tip-438" branch to latest trunk.tip_438jan.nijtmans2016-01-071-4/+99
| |\ \ \