summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-02-08 19:11:43 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-02-08 19:11:43 (GMT)
commit00e7ca4f6ce3fdc83f2e6ac826bbe608ca3ec707 (patch)
tree3bf694002f95b3e0b50e61e999c395b1ea099329 /generic
parent518e00a1dc2614aea4205513a4a3d32eb308ad72 (diff)
downloadtk-00e7ca4f6ce3fdc83f2e6ac826bbe608ca3ec707.zip
tk-00e7ca4f6ce3fdc83f2e6ac826bbe608ca3ec707.tar.gz
tk-00e7ca4f6ce3fdc83f2e6ac826bbe608ca3ec707.tar.bz2
Stop panic (Bad tag priority being toggled on) - Bug [382da038c9]bug_382da038c9
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextBTree.c14
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;
/*