NSTextView or NSTextField?
NSTextView or NSTextField?
- Subject: NSTextView or NSTextField?
- From: Jerry Krinock <email@hidden>
- Date: Fri, 16 Jun 2006 11:14:29 -0700
- Thread-topic: NSTextView or NSTextField?
We're making an application that stores several user "tasks". These tasks
are not documents; they will be continuously and silently stored in a
database in ~/Library/Application Support.
One of each task's attributes is a user-editable script; a scrollable view
of text which may be 5-100 lines. This view should:
- scroll vertically when needed.
- accept "return" and "tab" characters without using "opt" key.
- give me a notification or delegate message upon completion of each "edit":
(contiguous typing, cut operation, paste operation, etc.), like the editor
in Xcode. Upon receiving this, I shall end an undo grouping and (unlike
Xcode) silently save their work.
Two basic questions:
Should this thing be an NSTextField or an NSTextView?
Is subclassing going to be necessary?
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden