From 777d4d968034b83b92574fe995f921316aef0600 Mon Sep 17 00:00:00 2001 From: Corey Johnson & Nathan Sobo Date: Wed, 28 Mar 2012 13:20:33 -0700 Subject: [PATCH] Add Editor.getCursors() --- src/atom/editor.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/atom/editor.coffee b/src/atom/editor.coffee index e849f41b7..2817230aa 100644 --- a/src/atom/editor.coffee +++ b/src/atom/editor.coffee @@ -350,6 +350,7 @@ class Editor extends View moveCursorUp: -> @compositeCursor.moveUp() moveCursorDown: -> @compositeCursor.moveDown() moveCursorRight: -> @compositeCursor.moveRight() + getCursors: -> @compositeCursor.getCursors() moveCursorLeft: -> @compositeCursor.moveLeft() setCursorScreenPosition: (position) -> @compositeCursor.setScreenPosition(position) getCursorScreenPosition: -> @compositeCursor.getCursor().getScreenPosition()