status.i4.v = window_edit_c(window_id.i2.v, text_color.i4.v,
				    options.u4.v, user_key_func.f.v,
				    user_key_data.g.v, language_func.f.v)

	This routine supports text editing in a TV window.  Window
	editing is ended with a call to window_edit_term_c.

	window_id	window ID of the window to be edited
	text_color	color of entered text
			(constants are in cnsparam)
	options		window editing options
			(EDIT_OPT_NONE -> no options selected,
			 EDIT_OPT_MODAL_DIALOG -> don't exit when the user
						  interrupts outside of the
						  edit window)
	user_key_func	function to be executed upon each key press
			(function called as follows:
			 done.i4.v = user_key_func(wid.i2.v, key_data.s.r,
			 ("key_data" is a structure of type TEXT_CURSOR_DATA)
			 ("edit_data" is a structure of type CNS_EDIT_DATA)
			 (Valid return values include: CNS_EDIT_CONTINUE,
			(A value of NULL can be passed for this argument.)
	user_key_data	data to be passed to "user_key_func"
			(A value of NULL can be passed for this argument.)
	language_func	function to be executed upon a language sensitive
			help command (ctrl e)
			(function called as follows:
			 language_func(wid.i2.v, row.i4.v, column.i4.v,
			(A value of NULL can be passed for this argument.)

	This function returns status values as follows:

	OK			success
	CBS_NO_SUCH		window doesn't exist
	CBS_MEMFAIL		dynamic memory allocation failure

	This function requires the following include files:

	cnsparam_h, cns_data_structs_h, cbslib_h, acnet_errors_h

	Related functions:

	window_edit_term_c, window_edit_disable_c, window_edit_enable_c,
	cns_edit, text_edit_window_c, text_edit_dialog_c, text_cursor_init_c,

	C/C++ usage:

	short	window_id;
	int	status;
	int	text_color = WHITE;
	unsigned int	options = EDIT_OPT_NONE;
	int	user_key_func(short window_id, TEXT_CURSOR_DATA *key_data,
			      void *user_key_data);
	void	*user_key_data = (void *) NULL;
	void	language_func(short window_id, int row, int column,
			      int text_color);

	status = window_edit_c(window_id,text_color,options,user_key_func,