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 Basic | Visual C++ |
public delegate bool WebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingEventHandler( 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)