summaryrefslogtreecommitdiffstats
path: root/generic/tkTextUndo.c
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix [0bc9df5fe3]: (1) Fix in deletion algorithm. (2) Additional macro for ↵gcramer2017-06-101-1/+1
| | | | tracing segment allocation/deallocation. (3) Fix in load algorithm concerning handling of first newline. (4) Fix in load algorithm when configuring tags.
* Finally (hopefully) changed to stdbool.h, this is C99 conform, and should ↵gcramer2017-06-081-5/+0
| | | | compile with ancient MSVC, because for the latter I'm still using the type definition to int. With this change I had to replace some of the struct attributes to int.
* Work-around for Mac: "bool" is replaced with "tkbool_t", and the (quasi) ↵gcramer2017-06-081-0/+5
| | | | keyword "bool" now will only be used internally.
* (1) Fix in function TkRangeListDelete().gcramer2017-04-251-3/+3
| | | | | | | | | | | | (2) Deletion in respect of newline behavior overworked. (3) Undo/redo of deletion fixed. (4) Test cases text-37.1-11 added, especially important edge cases will be tested. (5) Replacement of tags now is respecting undo correctly. (6) TkTextInvalidateLineMetrics() fixed. (7) CheckLineMetricConsistency() refined. (8) Corrections in AdjustPixelClient(). (9) TextChanged() in tkTextWind.c optimized, because only the corresponding peer will be affected, a window is not sharable. (10) Some more fixes of subtle problems, especially in display stuff. (11) Some more useful assertions.
* Some minor corrections.gcramer2017-04-101-1/+1
|
* Move C99 inline defines from tkBool.h to tkInt.h. Having them in tkBool.h ↵fvogel2017-02-241-1/+0
| | | | looked odd to me.
* Commented out some asserts because MSVC erroneously triggers warning C4550: ↵fvogel2017-02-231-1/+3
| | | | expression evaluates to a function which is missing an argument list
* Silence compiler warnings, especially signed/unsigned problems.gcramer2017-02-231-32/+33
| | | | | | The handling of inline functions (C99 support) has been improved. C99 support for Linux/UNIX enabled. Some preparations for older Visual Studio compilers. Minor fix of test case (the use of abbreviated commands may break future releases).
* Complete the second last commitfvogel2017-02-221-2/+2
|
* Initial import of revised text widget from Gregor Cramer. fvogel2017-02-201-0/+1073
Main webpage: http://scidb.sourceforge.net/tk/revised-text-widget.html This is a vanilla unzip of tk8.6.6-revised-2017-02-18.zip downloaded from http://scidb.sourceforge.net/tk/download.html on 20 Feb. 2017. Only file left out is unix/makefile-for-8-5.patch