Re: Formatters and TextViews
Re: Formatters and TextViews
- Subject: Re: Formatters and TextViews
- From: Rob Rix <email@hidden>
- Date: Sun, 9 Sep 2001 15:46:54 -0400
Well, not completely. But if NSFormatter isn't the way to go, I really
don'
t know what is. I just started this project today...
Can anybody suggest anything else for on-the-fly parsing of text and
colouring (and underlining) of WordsJammedTogether? After that, I'd just
have to figure out how to change allow clicking on that text...
As it happens, I just thought of a (perhaps nicer?) way of doing it:
Instead of having on-the-fly editing, just have the user link with
whatever he likes via a contextual menu.
This still leaves me with the difficulty of setting up the actual links.
Maybe I should subclass NSTextView and have my subclass respond to
click-events on links?
-- Rob
Moore's law heals all wounds.