Am 09.09.2007 um 19:56 schrieb Michael Zappe: > > On Sep 9, 2007, at 4:42 AM, Manfred Bergmann wrote: > >> >> The Cocoa text system is strong, right. >> But I think I did not fully understand what you have in mind. >> I would like to see text rendering much easier than in MacSword. No >> tables, no css. >> Simple but effective. Using WebKit, words that are tagged in some >> way throw events when the mouse curser moves over them (like links). >> Using Cocoa text system the mouse possition would need to be >> tracked to have the same functionality. >> > > No, actually. You can do that using attributes with > NSAttributedText. This is one of the experiments I've tackled. > NSTextView does all the mouse tracking, etc., for you.
I might be wrong but I thought with NSAttributedString you can set things like underline, text color, etc. But IMO it doesn not react on mouse movements automatically. Manfred _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page