Method: Vedeu::Editor::Document#output
- Defined in:
- lib/vedeu/editor/document.rb
#output ⇒ Array<Vedeu::Views::Char> (private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return the data needed to render the document, based on the current virtual cursor position. This output may be a cropped representation of the full document depending on the size of the interface.
285 286 287 288 289 290 |
# File 'lib/vedeu/editor/document.rb', line 285 def output Vedeu::Editor::Cropper.new(lines: lines, name: name, ox: ox, oy: oy). end |