home *** CD-ROM | disk | FTP | other *** search
- /*
- sdsetfw.c 4/12/88
-
- % sed_SetFieldWidth
-
- C-scape 3.2
- Copyright (c) 1986, 1987, by Oakland Group, Inc.
- ALL RIGHTS RESERVED.
-
- Revision History:
- -----------------
- 3/28/90 jmd ansi-fied
- */
-
- #include "sed.h"
- #include "fldpriv.h"
-
- void sed_SetFieldWidth(sed_type sed, int fieldno, int width)
- /*
- Sets the width of the specified field.
- Makes sure fieldpos is visible.
- */
- {
- menu_SetFieldWidth(sed_GetMenu(sed), fieldno, width);
-
- /* call goto_char to ensure visibility of fieldpos */
- sd_goto_char(sed, sed_GetRecordPos(sed));
- }
-
-