lib/vedeu/editor/document.rb in vedeu-0.6.41 vs lib/vedeu/editor/document.rb in vedeu-0.6.42
- old
+ new
@@ -219,17 +219,17 @@
end
end
# Move the virtual cursor to the beginning of the line.
#
- # @return [Vedeu::Editor::Document]
+ # @return [Vedeu::Editor::Cursor]
def bol
cursor.bol.refresh
end
# Move the virtual cursor to the end of the line.
#
- # @return [Vedeu::Editor::Document]
+ # @return [Vedeu::Editor::Cursor]
def eol
cursor.x = line.size
cursor.refresh
end