Iedit_text

[ XITE Reference Manual | XITE home ]

Name

Iedit_text - edit the text in the BIFF image textfield

Syntax

 #include <xite/biff.h>

 BiffStatus Iedit_text( IMAGE i );

Description

Let the user edit the text field in image i with some standard text editor. The whole text field is copied to a temporary file, an editor is started, and when the editor is terminated, the file will be read back into the image, and the temporary file will be deleted. Character position will be left at end of text. If the "EDITOR" environment variable is set, that editor will be started, otherwise "emacs" will be used.

Restrictions

i must be initialized.

See also

Itype_text(5), Iread_text(5), Icopy_text(5), bifftext(1)

Return value

status

Author

Tor Lønnestad, BLAB, Ifi, UiO