Sha256: 177ac73568900e1e7e51d5fe13a1d15e87fa334ea85b8afb2b8a5538403da504
Contents?: true
Size: 1.52 KB
Versions: 7
Compression:
Stored size: 1.52 KB
Contents
# @title Vedeu Document Events ## Document Events Note: 'name' is a Symbol unless mentioned otherwise. ### :_editor_execute_ Vedeu.trigger(:_editor_execute_, name) ### :_editor_delete_character_ This event attempts to delete the character in the named document at the current virtual cursor position. Vedeu.trigger(:_editor_delete_character_, name) ### :_editor_delete_line_ This event attempts to delete the line in the named document at the current virtual cursor position. Vedeu.trigger(:_editor_delete_line_, name) ### :_editor_down_ This event attempts to move the virtual cursor down by one line in the named document. Vedeu.trigger(:_editor_down_, name) ### :_editor_insert_character_ This event attempts to insert the given character in the named document at the current virtual cursor position. Note: 'character' is a string. Vedeu.trigger(:_editor_insert_character_, name, character) ### :_editor_insert_line_ This event attempts to insert a new line in the named document at the current virtual cursor position. Vedeu.trigger(:_editor_insert_line_, name) ### :_editor_left_ This event attempts to move the virtual cursor left by one character in the named document. Vedeu.trigger(:_editor_left_, name) ### :_editor_right_ This event attempts to move the virtual cursor right by one character in the named document. Vedeu.trigger(:_editor_right_, name) ### :_editor_up_ This event attempts to move the virtual cursor up by one line in the named document. Vedeu.trigger(:_editor_up_, name)
Version data entries
7 entries across 7 versions & 1 rubygems