IDkmScriptDocumentContentInsertNotification.OnScriptDocumentContentInsert Method

Definition

OnScriptDocumentContentInsert is invoked as part of event processing. See interface definition for more information.

public:
 void OnScriptDocumentContentInsert(Microsoft::VisualStudio::Debugger::Script::DkmScriptDocument ^ scriptDocument, Microsoft::VisualStudio::Debugger::Symbols::DkmTextSpan span, System::String ^ newText, Microsoft::VisualStudio::Debugger::DkmEventDescriptor ^ eventDescriptor);
public void OnScriptDocumentContentInsert (Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument scriptDocument, Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan span, string newText, Microsoft.VisualStudio.Debugger.DkmEventDescriptor eventDescriptor);
abstract member OnScriptDocumentContentInsert : Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument * Microsoft.VisualStudio.Debugger.Symbols.DkmTextSpan * string * Microsoft.VisualStudio.Debugger.DkmEventDescriptor -> unit
Public Sub OnScriptDocumentContentInsert (scriptDocument As DkmScriptDocument, span As DkmTextSpan, newText As String, eventDescriptor As DkmEventDescriptor)

Parameters

scriptDocument
DkmScriptDocument

[In] Represents a document which is executing in a script runtime environment. For example, the Microsoft JavaScript engine.

span
DkmTextSpan

[In] The text span of the inserted text. For aggregate documents (DkmScriptDocumentFlags.AggregateDocument is set), this must start on a new line, and at at the end of a line immediately before a new section would begin.

newText
String

[In] The new text content which is inserted into the document.

eventDescriptor
DkmEventDescriptor

[In] Describes the event being processed.

Applies to