docs/events/system.md in vedeu-0.6.20 vs docs/events/system.md in vedeu-0.6.21
- old
+ new
@@ -19,10 +19,13 @@
### :_editor_
This event is called by {Vedeu::Input::Capture#read}. When
invoked, the key will be passed to the editor for currently
focussed view.
+Note: 'key' is a String for alphanumeric keys and special keys are
+represented by Symbols.
+
Vedeu.trigger(:_editor_, key)
### :_exit_
When triggered, Vedeu will trigger a `:cleanup` event which you can
define (to save files, etc) and attempt to exit.
@@ -48,9 +51,11 @@
Vedeu.trigger(:_keypress_, key)
### :_log_
When triggered with a message will cause Vedeu to log the message if
logging is enabled in the configuration.
+
+Note: 'message' is a String.
Vedeu.trigger(:_log_, message)
### :_mode_switch_
When triggered (by default, after the user presses `escape`), Vedeu