Merge pull request #1911 from nraynaud/patch-1

fix documentation for getCursor
This commit is contained in:
Harutyun Amirjanyan 2014-04-16 12:06:35 +02:00
commit 3b76a2ebef

View file

@ -119,8 +119,8 @@ var Selection = function(session) {
}; };
/** /**
* Gets the current position of the cursor. * Returns an object containing the `row` and `column` current position of the cursor.
* @returns {Number} * @returns {Object}
**/ **/
this.getCursor = function() { this.getCursor = function() {
return this.lead.getPosition(); return this.lead.getPosition();