diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-30 10:07:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-30 10:07:46 (GMT) |
commit | 023e88a897f369e630a198082e71cbb1823c9a63 (patch) | |
tree | 8eebb895d60f55eaed23ea1bfb570065467d077d /generic/tkTextDisp.c | |
parent | 02adf45068f997e84707a3479e629b74b5409671 (diff) | |
download | tk-023e88a897f369e630a198082e71cbb1823c9a63.zip tk-023e88a897f369e630a198082e71cbb1823c9a63.tar.gz tk-023e88a897f369e630a198082e71cbb1823c9a63.tar.bz2 |
Sort all usage of "pages", "pixels" and "units", make it alphabetical, in implementation, tests and documentation.
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r-- | generic/tkTextDisp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index d4f6b83..33b9720 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -8770,10 +8770,10 @@ TextGetScrollInfoObj( VIEW_MOVETO, VIEW_SCROLL }; static const char *const units[] = { - "units", "pages", "pixels", NULL + "pages", "pixels", "units", NULL }; enum viewUnits { - VIEW_SCROLL_UNITS, VIEW_SCROLL_PAGES, VIEW_SCROLL_PIXELS + VIEW_SCROLL_PAGES, VIEW_SCROLL_PIXELS, VIEW_SCROLL_UNITS }; int index; @@ -8794,7 +8794,7 @@ TextGetScrollInfoObj( return TKTEXT_SCROLL_MOVETO; case VIEW_SCROLL: if (objc != 5) { - Tcl_WrongNumArgs(interp, 3, objv, "number units|pages|pixels"); + Tcl_WrongNumArgs(interp, 3, objv, "number pages|pixels|units"); return TKTEXT_SCROLL_ERROR; } if (Tcl_GetIndexFromObjStruct(interp, objv[4], units, |