From 60660300593cdafb6cd45416a074be5c7b79c81e Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Mon, 1 Apr 2013 09:49:53 -0700 Subject: [PATCH] Test it out --- src/app/editor.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/editor.coffee b/src/app/editor.coffee index 42effb3a7..1f98c6549 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -163,7 +163,13 @@ class Editor extends View do (name, method) => @command name, => method.call(this); false + # Public: Retrieves a single cursor + # + # Returns [Cursor]. getCursor: -> @activeEditSession.getCursor() + # Public: Retrieves a list of all the cursors. + # + # Returns {[Cursor]}. getCursors: -> @activeEditSession.getCursors() addCursorAtScreenPosition: (screenPosition) -> @activeEditSession.addCursorAtScreenPosition(screenPosition) addCursorAtBufferPosition: (bufferPosition) -> @activeEditSession.addCursorAtBufferPosition(bufferPosition)