diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-06-08 13:03:54 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-06-08 13:03:54 +0000 |
| commit | 043f83732c06a092cd12b5ad4f92264dee44c61a (patch) | |
| tree | 8e7d497649f33c02b03e6cc476018487dd8c1374 /appl/acme/wind.b | |
| parent | 9f620229775d41f76096d9039c46ff368fd44d47 (diff) | |
20070608-1402
Diffstat (limited to 'appl/acme/wind.b')
| -rw-r--r-- | appl/acme/wind.b | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/appl/acme/wind.b b/appl/acme/wind.b index 2b97fafa..aa4e1950 100644 --- a/appl/acme/wind.b +++ b/appl/acme/wind.b @@ -527,10 +527,14 @@ Window.clean(w : self ref Window, conservative : int, exiting : int) : int # as return TRUE; } -Window.ctlprint(w : self ref Window) : string +Window.ctlprint(w : self ref Window, fonts : int) : string { - return sprint("%11d %11d %11d %11d %11d ", w.id, w.tag.file.buf.nc, + s := sprint("%11d %11d %11d %11d %11d ", w.id, w.tag.file.buf.nc, w.body.file.buf.nc, w.isdir, w.dirty); + if(fonts) + return sprint("%s%11d %q %11d ", s, w.body.frame.r.dx(), + w.body.reffont.f.name, w.body.frame.maxtab); + return s; } Window.event(w : self ref Window, fmt : string) |
