Providing citation data for a text view
Providing citation data for a text view
- Subject: Providing citation data for a text view
- From: "D.K. Johnston" <email@hidden>
- Date: Wed, 28 Jun 2006 16:52:54 -0700
I want to display some read-only text in a text view, along with a
text field that shows citation information (e.g. chapter, section,
line numbers) for the selected line. Of course, the text field should
be updated every time the selected line changes. I was thinking of
using NSAttributedString, with the citation values for each line
embedded as an attribute; or perhaps creating an array containing the
citation values that is indexed somehow to the lines of text
displayed in the text view.
I'm sure I'm reinventing the wheel. Can anyone point me toward some
documentation, or example code, that deals with this kind of thing?
dkj
_______________________________________________
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