• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: splitting a text view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >splitting a text view (From: Todd Ransom <email@hidden>)

  • Prev by Date: Re: Is it possible to make Dock Icon Jump ??
  • Next by Date: Re: itunes style expanding text field
  • Previous by thread: splitting a text view
  • Next by thread: Rasterizing an NSString to a bitmap
  • Index(es):
    • Date
    • Thread