Re: splitting a text view
Re: splitting a text view
- Subject: Re: splitting a text view
- From: Glenn Andreas <email@hidden>
- Date: Mon, 7 Jun 2004 13:15:02 -0500
At 10:49 AM -0600 6/7/04, Todd Ransom wrote:
I would like to create an NSTextView that can be split, similar to
the way XCode's editor can. I have put two NSTextViews onto a
window and made them a subview of NSSplitView. That works fine.
What I can't figure out is how to get these two NSTextViews to share
a single data source (for lack of a better term). What do I need to
do to get these two NSTextViews to show me two different views on
the same file?
IDEKit (
http://projects.gandreas.com/idekit) will do this for you
(assuming you are looking for a "source code" style editor).
Otherwise there is extensive documentation on how to manually
construct various text architectures (multiple views vs multiple
layout).
--
Glenn Andreas email@hidden
mondo blobbo, Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.