]> gitweb.factorcode.org Git - factor.git/commitdiff
fix SDL console
authorSlava Pestov <slava@factorcode.org>
Wed, 19 Jan 2005 02:52:03 +0000 (02:52 +0000)
committerSlava Pestov <slava@factorcode.org>
Wed, 19 Jan 2005 02:52:03 +0000 (02:52 +0000)
TODO.FACTOR.txt
library/ui/console.factor

index 1710ca5718a63c11df927961dc1694fcb7116757..48a4af52add495f8481571196bc8454fbd1469f5 100644 (file)
@@ -27,6 +27,7 @@
 + listener/plugin:\r
 \r
 - update plugin docs\r
+- extract word puts stuff in the wrong place\r
 - extract word keeps indent\r
 - word preview for remote words\r
 - WordPreview calls markTokens() -> NPE\r
index 33a548e8c9309d113744dafda0d9f36c4967199b..cf1a498ac7aadbe67e79b5a0e3b5397e49cbb41f 100644 (file)
@@ -79,6 +79,10 @@ SYMBOL: output-line
 #! A line editor object.
 SYMBOL: input-line
 
+#! The font size is hardcoded here.
+: line-height 8 ;
+: char-width 8 ;
+
 ! Scrolling
 : visible-lines ( -- n ) height get line-height /i ;
 : total-lines ( -- n ) lines get vector-length ;
@@ -105,10 +109,6 @@ SYMBOL: input-line
 : foreground black ;
 : cursor     red   ;
 
-#! The font size is hardcoded here.
-: line-height 8 ;
-: char-width 8 ;
-
 : next-line ( -- )
     0 x set  line-height y [ + ] change ;