Sfairadora

  • Reference Guide

Text_editor_def

The definition type of a text editor.
Type
Name
Description
Int|Enki optional
frame_style
The frame style. One of the frame style constants. Only the values FRAME_NONE, FRAME_SIMPLE, and FRAME_DEEP are allowed.
If the value is not specified, an appropriate one is determined automatically.
Bool|Enki
no_close_volatile
If set TRUE, performing editing does not close the volatile window the line editor is possibly contained in.
Bool|Enki
write_immediate
If set TRUE, the edited text is stored to the data item after every change made.
Bool|Enki
no_horizontal_bounds
If set TRUE, the editor can be left by moving cursor beyond the left or right border.
Bool|Enki
ignore_tab
If set TRUE, the Tab key does not insert a tabulator, but activates the next dispel.
Bool|Enki
immedate_edit
If set TRUE, the editor is switched to the editing mode (the text cursor is displayed) immediately after it is activated.
border
The border between the text and the frame.
Int|Enki optional
min_char_width
The minimum editor width expressed in average character widths of the font used.
Text|Enki optional
data_getter
The getter functions. If the type Text is specified, it is an Enki function. If the type Enki is specified, it is a function returning the getter function’s source text (i.e. an indirect function).
Text|Enki optional
data_setter
The setter functions. If the type Text is specified, it is an Enki function. If the type Enki is specified, it is a function returning the setter function’s source text (i.e. an indirect function).
Data_type_def|Enki optional
data_type
The type to be stored to the data item. If not set, the type is inferred from the data item’s type.
Atom|Enki
data_id
The name of the object where the edited data item is located.
Dref|Enki
data_ref
The reference of the edited data item within the object specified above.
Atom|Enki optional
language
The name of the programming language can be specified here if the editor is intended to edit a function. In the present version, only the value "Enki" makes sense. The context help and contents of the menu Insert are determined according to the value of this attribute.