Browse Source

Docs changed tabs to spaces in examples.

Szymon Cofalik 10 years ago
parent
commit
9503a6793c

+ 3 - 4
packages/ckeditor5-engine/src/treemodel/delta/insertweakdelta.js

@@ -29,10 +29,9 @@ CKEDITOR.define( [
 	 * they end up inserted at the position before moved range (so they do not move with the range). `insertWeak` changes
 	 * this behavior - inserted nodes "sticks" with range and end up in moved range.
 	 *
-	 *
-	 *				|----------|				move + insert				move + insertWeak
-	 *		<p>fo[o^ba]r</p><p>|</p>			<p>foxyzr</p><p>oba</p>		<p>for</p><p>oxyzba</p>
-	 *		  	 "xyz"
+	 *		       |----------|                move + insert              move + insertWeak
+	 *		<p>fo[o^ba]r</p><p>|</p>      <p>foxyzr</p><p>oba</p>       <p>for</p><p>oxyzba</p>
+	 *		     "xyz"
 	 *
 	 * @chainable
 	 * @memberOf treeModel.Batch

+ 11 - 11
packages/ckeditor5-engine/src/treemodel/range.js

@@ -185,19 +185,19 @@ CKEDITOR.define( [ 'treemodel/position', 'treemodel/positioniterator', 'utils' ]
 		 * Computes and returns the smallest set of {@link #isFlat flat} ranges, that covers this range in whole.
 		 * Assuming that tree model model structure is ("[" and "]" are range boundaries):
 		 *
-		 *		root															root
-		 *		 |- element DIV							DIV				P2				P3				DIV
-		 *		 |   |- element H					H		 P1			foo				bar			H		 P4
-		 *		 |   |   |- "fir[st"			 fir[st		lorem								se]cond		ipsum
+		 *		root                                                            root
+		 *		 |- element DIV                         DIV             P2              P3             DIV
+		 *		 |   |- element H                   H        P1        f o o           b a r       H         P4
+		 *		 |   |   |- "fir[st"             fir[st     lorem                               se]cond     ipsum
 		 *		 |   |- element P1
-		 *		 |   |   |- "lorem"												 ||
-		 *		 |- element P2													 ||
-		 *		 |   |- "foo"													 VV
+		 *		 |   |   |- "lorem"                                              ||
+		 *		 |- element P2                                                   ||
+		 *		 |   |- "foo"                                                    VV
 		 *		 |- element P3
-		 *		 |   |- "bar"													root
-		 *		 |- element DIV							DIV				[P2				P3]				DIV
-		 *		 |   |- element H					H		[P1]		foo				bar			H		 P4
-		 *		 |   |   |- "se]cond"			 fir[st]	lorem								[se]cond		ipsum
+		 *		 |   |- "bar"                                                   root
+		 *		 |- element DIV                         DIV             [P2             P3]             DIV
+		 *		 |   |- element H                   H       [P1]       f o o           b a r        H         P4
+		 *		 |   |   |- "se]cond"            fir[st]    lorem                               [se]cond     ipsum
 		 *		 |   |- element P4
 		 *		 |   |   |- "ipsum"
 		 *