• 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: NSLayoutManager vs BBEdit (Was Re: Carbon vs Cocoa arguments)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLayoutManager vs BBEdit (Was Re: Carbon vs Cocoa arguments)


  • Subject: Re: NSLayoutManager vs BBEdit (Was Re: Carbon vs Cocoa arguments)
  • From: Jonathan Hendry <email@hidden>
  • Date: Wed, 30 Oct 2002 21:31:59 -0500

On Tuesday, Oct 29, 2002, at 23:19 America/New_York, email@hidden wrote:


Sigh, so is it going to be possible to alter the behavior of
NSLayoutManager or will I have to write a replacement from scratch?
The mechanisms don't appear to be exposed in the public API.


As Scott Anguish said before, this has nothing to do with NSLayoutManager.
NSLayoutManager lays out text in a container. This has little to do
with drag and drop, apart from the required re-layout of text after a
removal or insertion, but that behavior wouldn't need changing at
all. The NSLayoutManager wouldn't care if the text was moved by
keyboard, tablet, applescript, speech control, or drag 'n drop.

The removal or insertion would happen at the NSTextStorage level,
and the NSLayoutManager would just adjust the rendering to suit the
change in the data.

You need to change the handling of selections, which would be at
the View level.


--
Jonathan W. Hendry NeXTSTEP/OpenStep/Cocoa
email@hidden programmer in Connecticut
_______________________________________________
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: 
 >Re: NSLayoutManager vs BBEdit (Was Re: Carbon vs Cocoa arguments) (From: email@hidden)

  • Prev by Date: Re: Internet Protocol Helper Applications
  • Next by Date: Re: metallized interface
  • Previous by thread: Re: NSLayoutManager vs BBEdit (Was Re: Carbon vs Cocoa arguments)
  • Next by thread: Re: NSLayoutManager vs BBEdit (Was Re: Carbon vs Cocoa arguments)
  • Index(es):
    • Date
    • Thread