Sfairadora

  • Reference Guide

State Object of Text Editor

Text editors publish a state object of the following type under the identifier editor_state.
Type
Name
Description
cursor_pos
The cursor position. The both coordinates are numbered from 1.
Atom const
language
The programming language that is being edited by the editor. Currently either none or "Enki". The value corresponds to the attribute language in the definition object of text editor.
Atom const
edited_data_id
The name of the object where the data item currently edited is located.
Dref const
edited_data_ref
The reference of the data item currently edited within the object specified above.