• 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
Disabling NSRuler influences in a NSTextView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disabling NSRuler influences in a NSTextView?


  • Subject: Disabling NSRuler influences in a NSTextView?
  • From: Pierre-Olivier Latour <email@hidden>
  • Date: Fri, 26 Jul 2002 15:21:52 +0200

Hi,

Using some source code in the list archives, I was able to disable wrapping
in my NSTextView. However, this does not works for tabs.

I found by displaying the ruler that markers were defined only for the first
inches, so if there's a "tab" character in the line farther than this point,
it will wrap the line to the first marker on the next line.

How can I disable this behavior?

Is there any way to define default "virtual markers" in the NSRuler i.e.
like in all text editors where you have invisible tab markers evenly spaced
in the ruler on a infinite distance?

More concretely, how do they make the tabs work correctly with non-wrapping
lines in Project Builder for example?

Thanks for any help!


_____________________________________________________________

Pierre-Olivier Latour email@hidden
Lausanne, Switzerland http://www.pol-online.net
_______________________________________________
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.

  • Prev by Date: Re: Invalidating Rects for redraw
  • Next by Date: Memory Leak in NSRunCriticalAlertPanel() ?
  • Previous by thread: Re: Localization and resources loading order
  • Next by thread: Memory Leak in NSRunCriticalAlertPanel() ?
  • Index(es):
    • Date
    • Thread