MonobjcMonobjc Documented Class Library
SetSelectedRangeAffinityStillSelecting Method (charRange, affinity, flag)
NamespacesMonobjc.AppKitNSTextViewSetSelectedRangeAffinityStillSelecting(NSRange, NSSelectionAffinity, Boolean)

Sets the selection to a range of characters in response to user action.

Original signature is '- (void)setSelectedRange:(NSRange)charRange affinity:(NSSelectionAffinity)affinity stillSelecting:(BOOL)flag'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetSelectedRangeAffinityStillSelecting(
	NSRange charRange,
	NSSelectionAffinity affinity,
	bool flag
)
Public Overridable Sub SetSelectedRangeAffinityStillSelecting ( _
	charRange As NSRange, _
	affinity As NSSelectionAffinity, _
	flag As Boolean _
)
public:
virtual void SetSelectedRangeAffinityStillSelecting(
	NSRange charRange, 
	NSSelectionAffinity affinity, 
	bool flag
)
Parameters
charRange (NSRange)
The range of characters to select. This range must begin and end on glyph boundaries and not split base glyphs and their nonspacing marks.
affinity (NSSelectionAffinity)
The selection affinity for the selection. See selectionAffinity for more information about how affinities work.
flag (Boolean)
YES to behave appropriately for a continuing selection where the user is still dragging the mouse, NO otherwise. If YES, the receiver doesn’t send notifications or remove the marking from its marked text. If NO, the receiver posts an NSTextViewDidChangeSelectionNotification to the default notification center and removes the marking from marked text if the new selection is greater than the marked region.
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.AppKit (Module: Monobjc.AppKit)