From 3d076daf54ce23cc1d8c87384da85821f4f93744 Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Tue, 2 Apr 2013 17:54:34 -0700 Subject: [PATCH] More updates --- src/app/editor.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/editor.coffee b/src/app/editor.coffee index f51748a5e..4d2ef6823 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -225,7 +225,10 @@ class Editor extends View # position - An {Array} of two numbers: the screen row, and the screen column. # options - An object with the following properties: setCursorScreenPosition: (position, options) -> @activeEditSession.setCursorScreenPosition(position, options) + # Public: Duplicates the current line. duplicateLine: -> @activeEditSession.duplicateLine() + # Public: Duplicates the current line. + getCursorScreenPosition: -> @activeEditSession.getCursorScreenPosition() getCursorScreenRow: -> @activeEditSession.getCursorScreenRow() setCursorBufferPosition: (position, options) -> @activeEditSession.setCursorBufferPosition(position, options)