• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Katoeri-Hiragana input underline drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Katoeri-Hiragana input underline drawing


  • Subject: Katoeri-Hiragana input underline drawing
  • From: Rimas <email@hidden>
  • Date: Mon, 15 Dec 2008 15:42:47 +0200

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 (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: Feasibility : setObjectValue: + bindings + Table Column with NSImageCell ??
  • Next by Date: encoding/decoding selectors?
  • Previous by thread: scheme High Level Class and representations
  • Next by thread: encoding/decoding selectors?
  • Index(es):
    • Date
    • Thread