MonobjcMonobjc Documented Class Library
WebViewShouldInsertNodeReplacingDOMRangeGivenActionMessage Method (webView, node, range, action)
NamespacesMonobjc.WebKitWebView..::..WebEditingDelegateEventDispatcherWebViewShouldInsertNodeReplacingDOMRangeGivenActionMessage(WebView, IntPtr, IntPtr, WebViewInsertAction)

Returns whether the user should be allowed to insert a node in place of a range of content.

Original signature is '- (BOOL)webView:(WebView *)webView shouldInsertNode:(DOMNode *)node replacingDOMRange:(DOMRange *)range givenAction:(WebViewInsertAction)action'

Available in Mac OS X v10.3.9 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool WebViewShouldInsertNodeReplacingDOMRangeGivenActionMessage(
	WebView webView,
	IntPtr node,
	IntPtr range,
	WebViewInsertAction action
)
Public Function WebViewShouldInsertNodeReplacingDOMRangeGivenActionMessage ( _
	webView As WebView, _
	node As IntPtr, _
	range As IntPtr, _
	action As WebViewInsertAction _
) As Boolean
public:
bool WebViewShouldInsertNodeReplacingDOMRangeGivenActionMessage(
	WebView^ webView, 
	IntPtr node, 
	IntPtr range, 
	WebViewInsertAction action
)
Parameters
webView (WebView)
The web view that the user is editing.
node (IntPtr)
The content to insert.
range (IntPtr)
The portion of the content that is replaced with node.
action (WebViewInsertAction)
Indicates the type of user action that initiated the insertion.
Return Value
YES if the user should be allowed to insert node in webView; 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)