Re: Line numbers in IDE
Re: Line numbers in IDE
- Subject: Re: Line numbers in IDE
- From: Josh Black <email@hidden>
- Date: Wed, 25 Feb 2004 11:23:26 -0800 (PST)
Hi -
Thanks for the response, but I was hoping to learn how to implement
this myself. I had heard that one way to do it was to look at the
vertical rulers for the NSScrollView that encloses the NSTextView, and
possibly subclass NSRulerView as a way to draw the line numbers. I've
been working with this, but can't seem to get it to do what I want.
Josh
--- Glenn Andreas <email@hidden> wrote:
>
At 11:21 PM -0800 2/24/04, Josh Black wrote:
>
>Hi -
>
>
>
>I'm currently in the process of writing a programmer's editor/IDE
>
type
>
>application and I want to display line numbers down the left side of
>
my
>
>text area, like XCode or BBEdit does. I've tried a number of
>
different
>
>ways to figure out how to do this, but they've all failed. Can
>
anyone
>
>give me a few pointers? Thanks!
>
>
>
Use IDEKit (http://www.gandreas.com/idekit or from the Panther
>
finder, connect to the public iDisk for "gandreas").
>
>
It already does all this and more - syntax coloring, function popups,
>
>
split views, etc... (and the next version will add "folding", as well
>
>
as speed up line numbers, since the current version slows down on
>
large files).
>
>
--
>
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.
_______________________________________________
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.