Class: Merrol::EditController
Instance Method Summary
collapse
Methods inherited from Controller
#initialize, #method_missing, #name
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Merrol::Controller
Instance Method Details
#delete ⇒ Object
19
20
21
|
# File 'lib/merrol/controllers/edit_controller.rb', line 19
def delete
edit_view.buffer.delete_selection true, true
end
|
#redo ⇒ Object
15
16
17
|
# File 'lib/merrol/controllers/edit_controller.rb', line 15
def redo
edit_view.redo
end
|
#select_all ⇒ Object
3
4
5
|
# File 'lib/merrol/controllers/edit_controller.rb', line 3
def select_all
edit_view.select_all(true)
end
|
#select_none ⇒ Object
7
8
9
|
# File 'lib/merrol/controllers/edit_controller.rb', line 7
def select_none
edit_view.select_all(false)
end
|
#undo ⇒ Object
11
12
13
|
# File 'lib/merrol/controllers/edit_controller.rb', line 11
def undo
edit_view.undo
end
|