Use auto-wrapping.
This commit is contained in:
parent
4e3650005a
commit
b42952a2f4
|
@ -11,7 +11,7 @@
|
|||
(syntax-line stx)
|
||||
(syntax-column stx)
|
||||
(pretty-format/write (syntax->datum stx))
|
||||
(break-lines msg)))
|
||||
msg))
|
||||
"\n\n"))
|
||||
|
||||
(define lowest-badness-color (make-object color% "pink"))
|
||||
|
|
|
@ -70,10 +70,12 @@
|
|||
(define text (new read-only-text%))
|
||||
(define win (new dialog%
|
||||
[label "Performance Report"]
|
||||
[width 700]
|
||||
[width 500]
|
||||
[height 300]))
|
||||
(define editor-canvas
|
||||
(new editor-canvas% [parent win] [editor text]))
|
||||
(new editor-canvas% [parent win] [editor text]
|
||||
[style '(no-hscroll)]))
|
||||
(send text auto-wrap #t)
|
||||
(send text insert-port (open-input-string
|
||||
(format-message stxs+msgs)))
|
||||
(send text init-done)
|
||||
|
|
Loading…
Reference in New Issue
Block a user