Răsfoiți Sursa

Code comment update.

Kuba Niegowski 5 ani în urmă
părinte
comite
78ec1e62d1
1 a modificat fișierele cu 1 adăugiri și 4 ștergeri
  1. 1 4
      packages/ckeditor5-undo/src/basecommand.js

+ 1 - 4
packages/ckeditor5-undo/src/basecommand.js

@@ -179,10 +179,7 @@ export default class BaseCommand extends Command {
 	}
 	}
 }
 }
 
 
-// Normalizes list of ranges by joining intersecting ranges. It expects input ranges to be sorted.
-//
-// Performs 'loose' joining if second argument is provided (ranges are joined if they are 'touching' one another)
-// and additionally avoids merging ranges that fully-contain any of the elements provided in the exclusion list.
+// Normalizes list of ranges by joining intersecting or "touching" ranges.
 //
 //
 // @param {Array.<module:engine/model/range~Range>} ranges
 // @param {Array.<module:engine/model/range~Range>} ranges
 //
 //