From ee052c06d39105586ff5969b5cce5e5392fb24b9 Mon Sep 17 00:00:00 2001 From: Nicolas Raynaud Date: Tue, 15 Apr 2014 22:13:59 +0200 Subject: [PATCH] fix documentation for getCursor --- lib/ace/selection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/selection.js b/lib/ace/selection.js index 403b1e76..e113d8ad 100644 --- a/lib/ace/selection.js +++ b/lib/ace/selection.js @@ -119,8 +119,8 @@ var Selection = function(session) { }; /** - * Gets the current position of the cursor. - * @returns {Number} + * Returns an object containing the `row` and `column` current position of the cursor. + * @returns {Object} **/ this.getCursor = function() { return this.lead.getPosition();