feature #2558 more precise documentation

This commit is contained in:
Thomas Muehlichen 2015-03-25 13:29:03 +01:00
parent e8d85c1173
commit fbcbc3c8a2

View file

@ -167,6 +167,7 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
/* /*
Gets all attributes at caret position Gets all attributes at caret position
if the user selected a range, the start of the selection is taken
*/ */
getAttributesOnCaret: function(){ getAttributesOnCaret: function(){
return this.getAttributesOnPosition(this.rep.selStart[0], this.rep.selStart[1]); return this.getAttributesOnPosition(this.rep.selStart[0], this.rep.selStart[1]);