diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-07-11 14:46:28 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-07-11 14:46:28 (GMT) |
commit | cc1227d6d930a024f7b8ce22f70265a2020f625d (patch) | |
tree | 53401ad2bde16eeae0aad7aa6ae999ab183f7d0f /generic/tkText.c | |
parent | b796c89cc1a4732b7009ddd6d4eebfc41378f38f (diff) | |
parent | 47a7d357fcba6b6d2898e876f9e9a5403ff4e22f (diff) | |
download | tk-cc1227d6d930a024f7b8ce22f70265a2020f625d.zip tk-cc1227d6d930a024f7b8ce22f70265a2020f625d.tar.gz tk-cc1227d6d930a024f7b8ce22f70265a2020f625d.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tkText.c')
-rw-r--r-- | generic/tkText.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index 19b4d99..782c136 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -2268,7 +2268,9 @@ ConfigureText( || (textPtr->selTagPtr->tabStringPtr != NULL) || (textPtr->selTagPtr->tabStyle == TK_TEXT_TABSTYLE_TABULAR) || (textPtr->selTagPtr->tabStyle == TK_TEXT_TABSTYLE_WORDPROCESSOR) - || (textPtr->selTagPtr->wrapMode != TEXT_WRAPMODE_NULL)) { + || (textPtr->selTagPtr->wrapMode == TEXT_WRAPMODE_CHAR) + || (textPtr->selTagPtr->wrapMode == TEXT_WRAPMODE_NONE) + || (textPtr->selTagPtr->wrapMode == TEXT_WRAPMODE_WORD)) { textPtr->selTagPtr->affectsDisplay = 1; textPtr->selTagPtr->affectsDisplayGeometry = 1; } |