[prev in list] [next in list] [prev in thread] [next in thread]
List: racket-users
Subject: [plt-scheme] Re: New-line & text%
From: czhu () cs ! utah ! edu (Chongkai Zhu)
Date: 2007-11-28 22:01:47
Message-ID: 474DE54B.2050100 () cs ! utah ! edu
[Download RAW message or body]
Laurent wrote:
> If i do that, i see in the text% "\\n" :(
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
(define frame (instantiate frame% ("Example")))
(define text (instantiate text% ()))
(define editor-canvas (instantiate editor-canvas% (frame) (editor text)))
(send text insert "\\n" 0)
(send frame show #t)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic