Hello, I am wondering if it is possible to draw this underline manually? I am talking about underline which is visible when entering text in Katoeri-Hiragana and characters are in undermined state. I have tried to use "- (void)drawGlyphsForGlyphRange:(NSRange)glyphsToShow atPoint:(NSPoint)origin" and "- (void)drawBackgroundForGlyphRange:(NSRange)glyphsToShow atPoint:(NSPoint)origin". But these methods doesn't draw underline. I have noticed, that marked text range is exactly what I want, but the problem is - how to know WHEN underline is required? TextView markedTextAttributes returns dictionary, which has only yellow background. The same you can see when entering Opt+e, for example. Looks like this depends on input locale. But I have no idea how Katoeri-Hiragana should be detected. Any kind of help is very appreciate.
Regards, Rimas M. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com