feature #2558 added documentation
This commit is contained in:
parent
fbcbc3c8a2
commit
a930161cb9
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue