]> gitweb.factorcode.org Git - factor.git/commitdiff
Minor doc updates
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 6 Apr 2009 22:52:14 +0000 (17:52 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 6 Apr 2009 22:52:14 +0000 (17:52 -0500)
basis/colors/colors-docs.factor
basis/help/home/home.factor

index 8881d8971144a6ef8aec3b662b7851c05e28fa35..5e2b09380dbb1264b839d0afd4fb1434c3daced9 100644 (file)
@@ -23,7 +23,7 @@ $nl
 ARTICLE: "colors" "Colors"
 "The " { $vocab-link "colors" } " vocabulary defines a protocol for colors, with a concrete implementation for RGBA colors. This vocabulary is used by " { $vocab-link "io.styles" } ", " { $vocab-link "ui" } " and other vocabularies, but it is independent of them."
 $nl
-"RGBA colors:"
+"RGBA colors with floating point components in the range " { $snippet "[0,1]" } ":"
 { $subsection rgba }
 { $subsection <rgba> }
 "Converting a color to RGBA:"
index f32c0db30d48e60f2aa728053467eb7f41f80f86..9cb3c6f1bbec6ae8395fb0eb51081cdca53d5001 100644 (file)
@@ -21,7 +21,7 @@ M: apropos add-recent-where recent-searches ;
 M: object add-recent-where f ;
 
 : $recent ( element -- )
-    first get [ nl ] [ 1array $pretty-link ] interleave ;
+    first get reverse [ nl ] [ 1array $pretty-link ] interleave ;
 
 : $recent-searches ( element -- )
     drop recent-searches get [ <$link> ] map $list ;