Module: Redcar::Document::Controller

Included in:
AutoCompleter::DocumentController, AutoIndenter::DocumentController, AutoPairer::DocumentController, Macros::Predictive::DocumentController, PairHighlighter::DocumentController, Snippets::DocumentController
Defined in:
plugins/edit_view/lib/edit_view/document/controller.rb

Defined Under Namespace

Modules: CursorCallbacks, ModificationCallbacks, NewlineCallback

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) document

Returns the value of attribute document



5
6
7
# File 'plugins/edit_view/lib/edit_view/document/controller.rb', line 5

def document
  @document
end

Instance Method Details

- (Object) after_action(action)

Called after every user action that modifies the document. E.g. typing “a”, moving up, running a search. NOT included  is modifications made by calling methods on Document, but they  are usually implied by the Commands that make them.

Parameters:



17
18
# File 'plugins/edit_view/lib/edit_view/document/controller.rb', line 17

def after_action(action)
end

- (Object) inspect



7
8
9
# File 'plugins/edit_view/lib/edit_view/document/controller.rb', line 7

def inspect
  "<#{self.class}>"
end