
sel_post_req( )
This procedure is used to send a non-blocking request to the selection owner. The
application’s reply procedure is called by the SELECTION package when the selection
owner has sent its reply.
int
sel_post_req( sel )
Selection_requestor sel;
sel is the selection requestor. Returns XV_OK if it successfully sends the request,
otherwise it returns XV_ERROR. When no reply procedure is defined, XV_ERROR is re-
turned (see the description for the attribute SEL_REPLY_PROC).
textsw_add_mark()
Adds a new mark at position. flags can be either TEXTSW_MARK_DEFAULTS or
TEXTSW_MARK_MOVE_AT_INSERT.
Textsw_mark
textsw_add_mark(textsw, position, flags)
Textsw textsw;
Textsw_index position;
unsigned flags;
textsw_append_file_name()
Returns 0 if textsw is editing a file and, if so, appends the name of the file at the end
of name.
int
textsw_append_file_name(textsw, name)
Textsw textsw;
char *name;
textsw_delete()
Returns 0 if the operation fails. Removes the span of characters beginning with
first and ending one before last_plus_one.
Textsw_index
textsw_delete(textsw, first, last_plus_one)
Textsw textsw;
Textsw_index first, last_plus_one;
textsw_edit()
Returns 0 if the operation fails. Erases a character, a word or a line, depending on
whether unit is SELN_LEVEL_FIRST or SELN_LEVEL_LINE. If direction is 0,
characters after the insertion point are affected; otherwise, characters before the inser-
tion point are affected. ...