lib/vedeu/bindings/system.rb in vedeu-0.6.7 vs lib/vedeu/bindings/system.rb in vedeu-0.6.8
- old
+ new
@@ -75,12 +75,13 @@
# @return [TrueClass]
def command!
Vedeu.bind(:_command_) { |command| Vedeu.trigger(:command, command) }
end
- # This event is called by {Vedeu::Input#capture}. When invoked, the
- # key will be passed to the editor for currently focussed view.
+ # This event is called by {Vedeu::Input::Input#capture}. When
+ # invoked, the key will be passed to the editor for currently
+ # focussed view.
#
# @example
# Vedeu.trigger(:_editor_, key)
#
# @return [TrueClass]
@@ -97,11 +98,11 @@
# Vedeu.trigger(:_exit_)
# Vedeu.exit
#
# @return [TrueClass]
def exit!
- Vedeu.bind(:_exit_) { Vedeu::Application.stop }
+ Vedeu.bind(:_exit_) { Vedeu::Runtime::Application.stop }
end
# Vedeu triggers this event when it is ready to enter the main loop.
# Client applications can listen for this event and perform some
# action(s), like render the first screen, interface or make a sound.
@@ -117,10 +118,10 @@
# Will cause the triggering of the `:key` event; which you should define
# to 'do things'. If the `escape` key is pressed, then `key` is triggered
# with the argument `:escape`, also an internal event `_mode_switch_` is
# triggered. Vedeu recognises most key presses and some 'extended'
# keypress (eg. Ctrl+J), a list of supported keypresses can be found here:
- # {Vedeu::Input#specials} and {Vedeu::Input#f_keys}.
+ # {Vedeu::Input::Input#specials} and {Vedeu::Input::Input#f_keys}.
#
# @example
# Vedeu.trigger(:_keypress_, key)
#
# @return [TrueClass]