Method: RubyCurses::TextView#init_actions

Defined in:
lib/rbcurse/core/widgets/rtextview.rb

#init_actionsObject



729
730
731
732
733
734
# File 'lib/rbcurse/core/widgets/rtextview.rb', line 729

def init_actions
  editor = ENV['EDITOR'] || 'vi'
  am = action_manager()
  am.add_action( Action.new("&Edit in #{editor} ") { edit_external } )
  am.add_action( Action.new("&Saveas") { saveas() })
end