mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
editor: Improve documentation comments
This commit is contained in:
parent
cbbcef8e90
commit
303fd297bd
3 changed files with 34 additions and 27 deletions
|
@ -115,13 +115,13 @@ AttributeManager.prototype = _(AttributeManager.prototype).extend({
|
|||
return [startCol, endCol];
|
||||
},
|
||||
|
||||
/*
|
||||
Sets attributes on a range, by line
|
||||
@param row the row where range is
|
||||
@param startCol column where range starts
|
||||
@param endCol column where range ends
|
||||
@param attribs: an array of attributes
|
||||
*/
|
||||
/**
|
||||
* Sets attributes on a range, by line
|
||||
* @param row the row where range is
|
||||
* @param startCol column where range starts
|
||||
* @param endCol column where range ends (one past the last selected column)
|
||||
* @param attribs an array of attributes
|
||||
*/
|
||||
_setAttributesOnRangeByLine(row, startCol, endCol, attribs) {
|
||||
const builder = Changeset.builder(this.rep.lines.totalWidth());
|
||||
ChangesetUtils.buildKeepToStartOfRange(this.rep, builder, [row, startCol]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue