]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/ui-docs.factor
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping ...
[factor.git] / basis / ui / ui-docs.factor
index aedf399c3c8a0b3ec4d63eb391c0c0c21ac1ff24..7a5a4562778e58809d0afc9da2563c4250fa7799 100644 (file)
@@ -343,11 +343,11 @@ HELP: MAIN-WINDOW:
 { $examples
 "From the " { $vocab-link "hello-ui" } " vocabulary. Creates a window with the title \"Hi\" containing a label reading \"Hello world\":"
 { $code
-"""USING: accessors ui ui.gadgets.labels ;
+"USING: accessors ui ui.gadgets.labels ;
 IN: hello-ui
 
-MAIN-WINDOW: hello { { title "Hi" } }
-    "Hello world" <label> >>gadgets ;"""
+MAIN-WINDOW: hello { { title \"Hi\" } }
+    \"Hello world\" <label> >>gadgets ;"
 } } ;
 
 ARTICLE: "ui.gadgets.worlds-window-controls" "Window controls"