MonobjcMonobjc Documented Class Library
MarkForStyleAtRange Method (style, range)
NamespacesMonobjc.InputMethodKitIMKInputControllerMarkForStyleAtRange(NSInteger, NSRange)

Returns a dictionary of text attributes that can mark a range of an attributed string to send to a client.

Original signature is '- (NSDictionary*)markForStyle:(NSInteger)style atRange:(NSRange)range'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSDictionary MarkForStyleAtRange(
	NSInteger style,
	NSRange range
)
Public Overridable Function MarkForStyleAtRange ( _
	style As NSInteger, _
	range As NSRange _
) As NSDictionary
public:
virtual NSDictionary^ MarkForStyleAtRange(
	NSInteger style, 
	NSRange range
)
Parameters
style (NSInteger)
A style, which should be one of the following values: kTSMHiliteSelectedRawText, kTSMHiliteConvertedText, or kTSMHiliteSelectedConvertedText. See the AERegistry.h header file for the definition of these values.
range (NSRange)
The range (that is, a clause) to mark.
Return Value
The dictionary of text attributes. The returned object should be an autoreleased object.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.InputMethodKit (Module: Monobjc.InputMethodKit)