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.
267 268 269 270 271 272 |
# File 'lib/vedeu/editor/document.rb', line 267 def output Vedeu::Editor::Cropper.new(lines: lines, name: name, ox: ox, oy: oy). end |