summaryrefslogtreecommitdiffstats
path: root/generic/tkTextPriv.h
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix [0bc9df5fe3]: (1) Fix in deletion algorithm. (2) Additional macro for ↵gcramer2017-06-101-0/+25
| | | | tracing segment allocation/deallocation. (3) Fix in load algorithm concerning handling of first newline. (4) Fix in load algorithm when configuring tags.
* (1) TkBTreeGetSegmentTags() now is sorting tags according to given sort ↵gcramer2017-05-241-3/+5
| | | | | method. This is simplifying function MakeStyle() significantly, and the tags in output of commands "dump" and "inspect" will also be sorted. (2) DEF_TEXT_INACTIVE_SELECT_FG_COLOR has been set to NULL for Windows.
* (1) Refactorization of deleteProc, inspectProc, needed because tree ↵gcramer2017-05-061-9/+8
| | | | | | | | | | (previously the argument) might be invalid when cleaning up. (2) Fix in undo of deletion. (3) Hardening of MarkDeleteProc(). (4) Fix in TkTextFreeMarks(). (5) Additional check of mark table when debug=on (but only if compiled with TK_TEXT_NDEBUG=1). (6) Review of index handling, resulting in fix of bug [3f1d48e263]. (7) TkTextIndexSetEpoch() now clears cached variables unconditionally.
* Bugfix [0d630132f2]: cached values in index now will be properly cleared ↵gcramer2017-05-051-32/+27
| | | | when updating the epoch. This should also have an impact on reported bug (a) in [73175271f2].
* (1) Some refinments in TkTextPickCurrent, now when changing the display line ↵gcramer2017-04-071-0/+52
| | | | | | | | | while hovering Leave/Enter events will be generated only if the hovered regions has also changed. (2) Fix in function TkTextGetYPixelFromChunk. (3) Some refactorization. (4) Test cases textTag-16.3/4 restored because of the refinement. (5) Test case 19.1 fixed, and extended. (6) Some other refinements.
* (1) TkTextPickCurrent overworked, see ↵gcramer2017-04-061-3/+3
| | | | | | | | | http://scidb.sourceforge.net/tk/tag-enter-leave.html (2) This is fixing bug http://scidb.sourceforge.net/tk/tagbind.html (3) The test cases testTag-16.3/4 have been adjusted (4) New test case testTag-19.1 for testing repick after tag removal, because this has been fixed (5) Newly introduced option -transitionmode removed, not needed anymore (6) A few minor fixes
* (1) Option -transitionmode implemented, see ↵gcramer2017-04-021-0/+38
| | | | | | | | | http://scidb.sourceforge.net/tk/transitionmode.html (2) Indexes tag.current.first and tag.current.last implemented, see http://scidb.sourceforge.net/tk/indices.html#transitionmode (3) Refactoring for (a little) speed improvement (4) Update of manual (5) A few test cases added for new indexes (6) Some fixes
* merge trunkjan.nijtmans2017-03-211-1/+1
|
* (1) Some memory problems fixed, with the help of a fine granulated valgrind testgcramer2017-02-261-1/+1
| | | | | (2) 'char* reliefString' changed to 'Tcl_Obj *reliefPtr', required for fine granulated valgrind test (3) Severe bug in embedded window handling fixed (4) Minor display problem with selected text fixed (function MakeStyle)
* Silence compiler warnings, especially signed/unsigned problems.gcramer2017-02-231-6/+0
| | | | | | 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).
* When building on Windows, inline is already defined in makefile.vc ↵fvogel2017-02-221-7/+3
| | | | (-Dinline=__inline) regardless of the compiler version
* Initial import of revised text widget from Gregor Cramer. fvogel2017-02-201-0/+976
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