Tk Source Code

Check-in [7095b721]
Login

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

Overview
Comment:Fixed typo in comment
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7095b72171524268a72e3f46525f7c027143a2bf
User & Date: fvogel 2016-09-30 18:59:45
Context
2016-10-09
18:28
Fixed [1082213fff] - word wrapping should trim excess spaces check-in: 54a994d0 user: fvogel tags: trunk
2016-10-02
12:07
Pulling changes from trunk Closed-Leaf check-in: ddee8897 user: hypnotoad tags: core_zip_vfs
2016-09-30
18:59
Fixed typo in comment check-in: 7095b721 user: fvogel tags: trunk
18:59
Fixed typo in comment check-in: 6be1cfde user: fvogel tags: core-8-6-branch
09:29
Add a few "const" keywords, just for 'correctness' check-in: b8e169f0 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkTextTag.c.

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
static const char *const wrapStrings[] = {
    "char", "none", "word", "", NULL
};

/*
 * The 'TkTextTabStyle' enum in tkText.h is used to define a type for the
 * -tabstyle option of the Text widget. These values are used as indices into
 * the string table below. Tags are allowed an empty wrap value, but the
 * widget as a whole is not.
 */

static const char *const tabStyleStrings[] = {
    "tabular", "wordprocessor", "", NULL
};








|







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
static const char *const wrapStrings[] = {
    "char", "none", "word", "", NULL
};

/*
 * The 'TkTextTabStyle' enum in tkText.h is used to define a type for the
 * -tabstyle option of the Text widget. These values are used as indices into
 * the string table below. Tags are allowed an empty tabstyle value, but the
 * widget as a whole is not.
 */

static const char *const tabStyleStrings[] = {
    "tabular", "wordprocessor", "", NULL
};