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();