diff options
author | fvogelnew1@free.fr <fvogel> | 2015-02-08 19:11:43 (GMT) |
---|---|---|
committer | fvogelnew1@free.fr <fvogel> | 2015-02-08 19:11:43 (GMT) |
commit | bda38470be0d11c083a7ee53331b7155f8bfd8de (patch) | |
tree | 51929154d5d1c2ba2e329961b99ec6b92f81e3d9 /generic | |
parent | a5e0b9d8b5502365ba445324281cd06b3272ef8d (diff) | |
download | tk-bda38470be0d11c083a7ee53331b7155f8bfd8de.zip tk-bda38470be0d11c083a7ee53331b7155f8bfd8de.tar.gz tk-bda38470be0d11c083a7ee53331b7155f8bfd8de.tar.bz2 |
Stop panic (Bad tag priority being toggled on) - Bug [382da038c9]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTextBTree.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/generic/tkTextBTree.c b/generic/tkTextBTree.c index 92164fc..36f0ef3 100644 --- a/generic/tkTextBTree.c +++ b/generic/tkTextBTree.c @@ -3615,20 +3615,6 @@ TkTextIsElided( infoPtr->elidePriority = -1; for (i = infoPtr->numTags-1; i >=0; i--) { if (infoPtr->tagCnts[i] & 1) { - /* - * Who would make the selection elided? - */ - - if ((tagPtr == textPtr->selTagPtr) - && !(textPtr->flags & GOT_FOCUS) - && (textPtr->inactiveSelBorder == NULL -#ifdef MAC_OSX_TK - /* Don't show inactive selection in disabled widgets. */ - || textPtr->state == TK_TEXT_STATE_DISABLED -#endif - )) { - continue; - } infoPtr->elide = infoPtr->tagPtrs[i]->elide; /* |