]> gitweb.factorcode.org Git - factor.git/commitdiff
issue #358: change line-break to add-line-break
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 21 Jun 2012 07:21:30 +0000 (00:21 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 21 Jun 2012 15:38:04 +0000 (08:38 -0700)
basis/prettyprint/sections/sections.factor
basis/see/see.factor

index d496b572b958bd61b15bb7631337dc2d3057057f..c23daaa6c543ff1376cd2f9770c682a69ca59621 100644 (file)
@@ -183,7 +183,7 @@ TUPLE: block < section sections ;
     [ short-section? ] bi
     and [ bl ] when ;
 
-: line-break ( type -- ) [ <line-break> add-section ] when* ;
+: add-line-break ( type -- ) [ <line-break> add-section ] when* ;
 
 M: block section-fits? ( section -- ? )
     line-limit? [ drop t ] [ call-next-method ] if ;
index 3268eb5044b0616e581665551c86d309928150a2..4a4d76e9c0b415e79fa7316ed358c9962cc59e99 100644 (file)
@@ -139,7 +139,7 @@ M: mixin-class see-class*
     <block \ MIXIN: pprint-word
     dup pprint-word <block
     dup members [
-        hard line-break
+        hard add-line-break
         \ INSTANCE: pprint-word pprint-word pprint-word
     ] with each block> block> ;