MonobjcMonobjc Documented Class Library
WebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingMessage Method (webView, currentRange, proposedRange, selectionAffinity, flag)
NamespacesMonobjc.WebKitWebView..::..WebEditingDelegateEventDispatcherWebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingMessage(WebView, IntPtr, IntPtr, NSSelectionAffinity, Boolean)

Returns whether the user should be allowed to change the selected range.

Original signature is '- (BOOL)webView:(WebView *)webView shouldChangeSelectedDOMRange:(DOMRange *)currentRange toDOMRange:(DOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)flag'

Available in Mac OS X v10.3.9 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool WebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingMessage(
	WebView webView,
	IntPtr currentRange,
	IntPtr proposedRange,
	NSSelectionAffinity selectionAffinity,
	bool flag
)
Public Function WebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingMessage ( _
	webView As WebView, _
	currentRange As IntPtr, _
	proposedRange As IntPtr, _
	selectionAffinity As NSSelectionAffinity, _
	flag As Boolean _
) As Boolean
public:
bool WebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingMessage(
	WebView^ webView, 
	IntPtr currentRange, 
	IntPtr proposedRange, 
	NSSelectionAffinity selectionAffinity, 
	bool flag
)
Parameters
webView (WebView)
The web view that the user is editing.
currentRange (IntPtr)
The old range the user wants to change.
proposedRange (IntPtr)
The new range the user wants to select.
selectionAffinity (NSSelectionAffinity)
The direction of the selection.
flag (Boolean)
YES if the user is still selecting; otherwise, NO.
Return Value
YES if the user is allowed to change the selected range; otherwise, NO.
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.WebKit (Module: Monobjc.WebKit)