Sha256: 944fe6818b0dd4999d960846953b461a79f696f8e2d4d1d9f9adf9cf81a1aacf
Contents?: true
Size: 1.54 KB
Versions: 6
Compression:
Stored size: 1.54 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
6 entries across 6 versions & 1 rubygems