summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-11-21 12:47:31 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-11-21 12:47:31 (GMT)
commitb8c501de57829ea58d14a2f24841dec61241230a (patch)
tree2cfe3f6d794edaabf81d052f23e14d800bf34c4a
parent6da3f989a4249675d97ecad8989d070f87966068 (diff)
downloadtk-b8c501de57829ea58d14a2f24841dec61241230a.zip
tk-b8c501de57829ea58d14a2f24841dec61241230a.tar.gz
tk-b8c501de57829ea58d14a2f24841dec61241230a.tar.bz2
Respect alphabetical order
-rw-r--r--generic/tkText.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 9047911..62de1af 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -1498,15 +1498,6 @@ TextWidgetObjCmd(
case TEXT_SEE:
result = TkTextSeeCmd(textPtr, interp, objc, objv);
break;
- case TEXT_TAG:
- result = TkTextTagCmd(textPtr, interp, objc, objv);
- break;
- case TEXT_WINDOW:
- result = TkTextWindowCmd(textPtr, interp, objc, objv);
- break;
- case TEXT_XVIEW:
- result = TkTextXviewCmd(textPtr, interp, objc, objv);
- break;
case TEXT_SYNC: {
if (objc == 4) {
Tcl_Obj *cmd = objv[3];
@@ -1540,6 +1531,15 @@ TextWidgetObjCmd(
TkBTreeNumLines(textPtr->sharedTextPtr->tree, textPtr), -1);
break;
}
+ case TEXT_TAG:
+ result = TkTextTagCmd(textPtr, interp, objc, objv);
+ break;
+ case TEXT_WINDOW:
+ result = TkTextWindowCmd(textPtr, interp, objc, objv);
+ break;
+ case TEXT_XVIEW:
+ result = TkTextXviewCmd(textPtr, interp, objc, objv);
+ break;
case TEXT_YVIEW:
result = TkTextYviewCmd(textPtr, interp, objc, objv);
break;