diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-20 15:58:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-20 15:58:30 (GMT) |
commit | f9ec3c570c9b20d763e82a4abaacade3c4482750 (patch) | |
tree | 8b715235f0de5be8230534696d2d98dff5c252fd /generic/tkText.c | |
parent | f6fd3ddeeac87b3138ba636ebb4d408f1a4d284b (diff) | |
parent | 8b6266dcbcfbfa6036baae36eb6875e31519f9d3 (diff) | |
download | tk-f9ec3c570c9b20d763e82a4abaacade3c4482750.zip tk-f9ec3c570c9b20d763e82a4abaacade3c4482750.tar.gz tk-f9ec3c570c9b20d763e82a4abaacade3c4482750.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic/tkText.c')
-rw-r--r-- | generic/tkText.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index 74f6730..d46c542 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -2284,7 +2284,11 @@ ConfigureText( || (textPtr->selTagPtr->spacing2String != NULL) || (textPtr->selTagPtr->spacing3String != NULL) || (textPtr->selTagPtr->tabStringPtr != NULL) - || (textPtr->selTagPtr->wrapMode != TEXT_WRAPMODE_NULL)) { + || (textPtr->selTagPtr->tabStyle == TK_TEXT_TABSTYLE_TABULAR) + || (textPtr->selTagPtr->tabStyle == TK_TEXT_TABSTYLE_WORDPROCESSOR) + || (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; } |