• 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
Re: Monitoring NSTextView Attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monitoring NSTextView Attributes


  • Subject: Re: Monitoring NSTextView Attributes
  • From: Satoshi Matsumoto <email@hidden>
  • Date: Wed, 12 Apr 2006 07:41:45 +0900
  • Thread-topic: Monitoring NSTextView Attributes

It may be meaningless to show the text attribute when Japanese inline
conversion is being executed. Because many temporary attributes such as
underline or reversing are used for showing conversion modes.

You can know whether Japanese input conversion is going on or not with using
following methods of NSTextInput protocol.

hasMarkedText
Returns YES if the receiver has marked text, NO if it doesn’t.

- (BOOL)hasMarkedText

markedRange
Returns the range of the marked text.

- (NSRange)markedRange

Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802


 _______________________________________________
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

References: 
 >Monitoring NSTextView Attributes (From: Scott Thompson <email@hidden>)

  • Prev by Date: Re: Function definitions
  • Next by Date: Re: Monitoring NSTextView Attributes
  • Previous by thread: Monitoring NSTextView Attributes
  • Next by thread: Re: Monitoring NSTextView Attributes
  • Index(es):
    • Date
    • Thread