fix documentation for getCursor

This commit is contained in:
Nicolas Raynaud 2014-04-15 22:13:59 +02:00
commit ee052c06d3

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