]> gitweb.factorcode.org Git - factor.git/commitdiff
prettyprint.sections: Rename text tuple to text-section
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 20 Jul 2012 18:49:25 +0000 (11:49 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 20 Jul 2012 19:30:14 +0000 (12:30 -0700)
basis/prettyprint/sections/sections.factor

index e38a65135f64145f4278eb96196dbacf2c132540..23dc7025e4f137cc7a18a28f58eb51b5b35d4acb 100644 (file)
@@ -216,16 +216,16 @@ M: block short-section ( block -- )
 : <object ( obj -- ) presented associate <block> (<block) ;
 
 ! Text section
-TUPLE: text < section string ;
+TUPLE: text-section < section string ;
 
 : <text> ( string style -- text )
-    over length 1 + \ text new-section
+    over length 1 + \ text-section new-section
         swap >>style
         swap >>string ;
 
-M: text short-section string>> write ;
+M: text-section short-section string>> write ;
 
-M: text long-section short-section ;
+M: text-section long-section short-section ;
 
 : styled-text ( string style -- ) <text> add-section ;