• 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: Newbie Q : show line numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Q : show line numbers


  • Subject: Re: Newbie Q : show line numbers
  • From: Ryan Britton <email@hidden>
  • Date: Sun, 18 Sep 2005 08:42:27 -0700

Take a look at this. It accomplishes line numbering with a view scrolled along with the text view:

http://smultron.sourceforge.net/

On Sep 18, 2005, at 4:09 AM, email@hidden wrote:


Hello all,

 can anyone tell me the way to implement programmatically "show line
numbering" (as in Xcode Preferences>Text Editing>Display  Options) in
a Cocoa-constructed text editor ? I browsed
through the methods of the classes NSTextView and NSTextContainer but
I was unable to find the solution to my problem.

                                                            Ewan


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Newbie Q : show line numbers (From: email@hidden)

  • Prev by Date: Re: How to customize NSDocument's error message 'The document ... could not be opened'
  • Next by Date: Re: Rotating NSViews
  • Previous by thread: Newbie Q : show line numbers
  • Next by thread: How to customize NSDocument's error message 'The document ... could not be opened'
  • Index(es):
    • Date
    • Thread