Fold little things too
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Sun, 19 Jun 2011 13:18:43 -0600
changeset 294 f3dac10677c0
parent 293 29ed14779368
child 295 9a10e6f4641f
Fold little things too

This makes it look more uniform.
editcommands.html
implementation.js
source.html
tests.js
--- a/editcommands.html	Sun Jun 19 13:13:55 2011 -0600
+++ b/editcommands.html	Sun Jun 19 13:18:43 2011 -0600
@@ -2857,7 +2857,7 @@
 
 
 <h3 id=allowed-children><span class=secno>7.3 </span>Allowed children</h3>
-<!--@{-->
+
 <p>A <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> or string <var title="">child</var> is an <dfn id=allowed-child>allowed child</dfn> of a
 <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-node title=concept-node>node</a> or string <var title="">parent</var> if the following algorithm returns true:
 
@@ -2980,7 +2980,7 @@
 
   <li>Return true.
 </ol>
-<!--@}-->
+
 
 <h3 id=block-extending-a-range><span class=secno>7.4 </span>Block-extending a range</h3>
 
@@ -5532,6 +5532,7 @@
 
 
 <h3 id=the-insertunorderedlist-command><span class=secno>7.19 </span><dfn>The <code title="">insertUnorderedList</code> command</dfn></h3>
+
 <p><a href=#action>Action</a>: <a href=#toggle-lists>Toggle lists</a> with <var title="">tag name</var>
 "ul".
 
--- a/implementation.js	Sun Jun 19 13:13:55 2011 -0600
+++ b/implementation.js	Sun Jun 19 13:18:43 2011 -0600
@@ -5679,34 +5679,44 @@
 //@}
 
 ///// The insertUnorderedList command /////
+//@{
 commands.insertunorderedlist = {
 	// "Toggle lists with tag name "ul"."
 	action: function() { toggleLists("ul") }
 };
+//@}
 
 ///// The justifyCenter command /////
+//@{
 commands.justifycenter = {
 	// "Justify the selection with alignment "center"."
 	action: function() { justifySelection("center") }
 };
+//@}
 
 ///// The justifyFull command /////
+//@{
 commands.justifyfull = {
 	// "Justify the selection with alignment "justify"."
 	action: function() { justifySelection("justify") }
 };
+//@}
 
 ///// The justifyLeft command /////
+//@{
 commands.justifyleft = {
 	// "Justify the selection with alignment "left"."
 	action: function() { justifySelection("left") }
 };
+//@}
 
 ///// The justifyRight command /////
+//@{
 commands.justifyright = {
 	// "Justify the selection with alignment "right"."
 	action: function() { justifySelection("right") }
 };
+//@}
 
 ///// The outdent command /////
 //@{
--- a/source.html	Sun Jun 19 13:13:55 2011 -0600
+++ b/source.html	Sun Jun 19 13:18:43 2011 -0600
@@ -2843,7 +2843,7 @@
 <!-- @} -->
 
 <h3>Allowed children</h3>
-<!--@{-->
+<!-- @{ -->
 <p>A [[node]] or string <var>child</var> is an <dfn>allowed child</dfn> of a
 [[node]] or string <var>parent</var> if the following algorithm returns true:
 
@@ -2966,7 +2966,7 @@
 
   <li>Return true.
 </ol>
-<!--@}-->
+<!-- @} -->
 
 <h3>Block-extending a range</h3>
 <!-- @{ -->
@@ -5555,33 +5555,34 @@
 <!-- @} -->
 
 <h3><dfn>The <code title>insertUnorderedList</code> command</dfn></h3>
+<!-- @{ -->
 <p><span>Action</span>: <span>Toggle lists</span> with <var>tag name</var>
 "ul".
-
+<!-- @} -->
 
 <h3><dfn>The <code title>justifyCenter</code> command</dfn></h3>
-
+<!-- @{ -->
 <p><span>Action</span>: <span>Justify the selection</span> with
 <var>alignment</var> "center".
-
+<!-- @} -->
 
 <h3><dfn>The <code title>justifyFull</code> command</dfn></h3>
-
+<!-- @{ -->
 <p><span>Action</span>: <span>Justify the selection</span> with
 <var>alignment</var> "justify".
-
+<!-- @} -->
 
 <h3><dfn>The <code title>justifyLeft</code> command</dfn></h3>
-
+<!-- @{ -->
 <p><span>Action</span>: <span>Justify the selection</span> with
 <var>alignment</var> "left".
-
+<!-- @} -->
 
 <h3><dfn>The <code title>justifyRight</code> command</dfn></h3>
-
+<!-- @{ -->
 <p><span>Action</span>: <span>Justify the selection</span> with
 <var>alignment</var> "right".
-
+<!-- @} -->
 
 <h3><dfn>The <code title>outdent</code> command</dfn></h3>
 <!-- @{ -->
--- a/tests.js	Sun Jun 19 13:13:55 2011 -0600
+++ b/tests.js	Sun Jun 19 13:18:43 2011 -0600
@@ -2800,8 +2800,8 @@
 		'foo<a name=foo>[bar]</a>baz',
 		'foo[<a name=foo>bar</a>]baz',
 		'[foo<a name=foo>bar</a>baz]',
+	],
 	//@}
-	],
 };
 
 var defaultValues = {
@@ -2821,10 +2821,12 @@
 //@}
 
 var notes = {
+//@{
 	backcolor: '<strong>Note:</strong> No spec has yet been written, so the spec column does nothing.',
 	fontname: 'Note that the body\'s font-family is "serif".',
 	hilitecolor: 'In IE we run backColor instead of hiliteColor.',
 };
+//@}
 
 var doubleTestingCommands = [
 //@{
@@ -3140,8 +3142,10 @@
 //@}
 
 function doTearDown(command) {
+//@{
 	getSelection().removeAllRanges();
 }
+//@}
 
 function setupCell(cell, test) {
 //@{