Tk Source Code

Check-in [b61d5510]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Correction of typo in comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | revised_text | tip-466
Files: files | file ages | folders
SHA1: b61d55107e3fbf55d78d840b1e0da36a9b9eabff
User & Date: gcramer 2017-05-24 16:24:34
Context
2017-05-25
09:38
"#ifdef MAC_OSX_TK" code replaced, the generic implementation should not contain platform specific code (only debugging code is an exception). check-in: a232ec01 user: gcramer tags: revised_text, tip-466
2017-05-24
16:24
Correction of typo in comment. check-in: b61d5510 user: gcramer tags: revised_text, tip-466
12:16
(1) TkBTreeGetSegmentTags() now is sorting tags according to given sort 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. check-in: b4542df5 user: gcramer tags: revised_text, tip-466
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkText.h.

1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636

typedef enum {
    TK_TEXT_SORT_NONE,
    TK_TEXT_SORT_ASCENDING
} TkTextSortMethod;

/*
 * Flags nneded for function TkBTreeGetSegmentTags().
 */

#define TK_TEXT_IS_ELIDED	(1 << 0)
#define TK_TEXT_IS_SELECTED	(1 << 1)

/*
 * The following definition specifies the maximum number of characters needed







|







1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636

typedef enum {
    TK_TEXT_SORT_NONE,
    TK_TEXT_SORT_ASCENDING
} TkTextSortMethod;

/*
 * Flags needed for function TkBTreeGetSegmentTags().
 */

#define TK_TEXT_IS_ELIDED	(1 << 0)
#define TK_TEXT_IS_SELECTED	(1 << 1)

/*
 * The following definition specifies the maximum number of characters needed