[MacRuby-devel] MacRuby progress, questions
Rich Morin
rdm at cfcl.com
Sat Oct 18 22:45:23 PDT 2008
I've been able to create a (very) simple MacRuby app, but I'm
stalled on some Cocoa questions. Basically, I'm looking for a
Cocoa object (or some combination of objects) to implement a
variation on a Terminal, as follows:
I want two columns of text, controlled by a common vertical
scrollbar.
The right-hand column should act like a Terminal window. That
is, new text (whether entered, pasted, or generated by running
an external command) should show up at the "end" of the screen.
Text can be copied from any region of this column.
The left-hand column will contain sequence numbers for entries
in the right-hand column. These will be generated by my code
(when it thinks it has received a user "command") and won't be
copiable or editable.
I could use a Table View (with non-editable columns) to display
the text, but I'm not sure how to get at the keyboard (or paste)
input). What approaches/objects should I be looking at?
-r
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume rdm at cfcl.com
http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development
More information about the MacRuby-devel
mailing list