feature #2558 added documentation

This commit is contained in:
Thomas Muehlichen 2015-03-31 10:58:47 +02:00
parent fbcbc3c8a2
commit a930161cb9

View file

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