Method: Vedeu::Editor::Cursor#reset!

Defined in:
lib/vedeu/editor/cursor.rb

#reset!Vedeu::Editor::Cursor

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.

Move the virtual cursor to the origin (0, 0).



108
109
110
111
112
113
114
115
# File 'lib/vedeu/editor/cursor.rb', line 108

def reset!
  @x  = 0
  @y  = 0
  @ox = 0
  @oy = 0

  self
end