• 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: Is this a bug in NSTextView or a feature?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a bug in NSTextView or a feature?


  • Subject: Re: Is this a bug in NSTextView or a feature?
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 8 Feb 2002 12:33:17 -0800

On Friday, February 8, 2002, at 05:59 AM, Stiphane Sudre wrote:

When you type some text in a NSTextView with some tabs:

ddqfsdf fsfsdf sfsfsd sdfsdfsdf sfsfsdfsdf fsfsdfsdf lastpart

The last tab is transformed to a virtual Return (on this sample code "lastpart" is on the second line even if I resize the Text Window to be as wide as a 21" display (don't have a 22" Cinema Display to test if this is fixing this).

I'm speaking of a virtual return because you can try everything (deleting, retyping, etc...), the text won't fit on 1 line even if there is 3 times the required space.

It doesn't matter how much space there is, it just matters where the tab stops are. If there aren't any more tab stops, then a tab will advance you to the end of the line. The default NSParagraphStyle has some tab stops already, but a limited number of them; it sounds like you need to add some more.

Douglas Davidson
_______________________________________________
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.

  • Follow-Ups:
    • Re: Is this a bug in NSTextView or a feature?
      • From: Stéphane Sudre <email@hidden>
References: 
 >Is this a bug in NSTextView or a feature? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Final (cleanup) drawing event?
  • Next by Date: Getting notifications while window is moving?
  • Previous by thread: Re: Is this a bug in NSTextView or a feature?
  • Next by thread: Re: Is this a bug in NSTextView or a feature?
  • Index(es):
    • Date
    • Thread