1 instantiation of TextChangeEventArgs
Microsoft.CodeAnalysis.EditorFeatures.Text (1)
Extensions.TextBufferContainer.cs (1)
114
var eventArgs = new
TextChangeEventArgs
(oldText, newText, changes);
15 references to TextChangeEventArgs
Microsoft.CodeAnalysis (4)
Text\SourceText.cs (1)
1271
public override event EventHandler<
TextChangeEventArgs
> TextChanged
Text\SourceTextContainer.cs (1)
23
public abstract event EventHandler<
TextChangeEventArgs
> TextChanged;
Text\TextChangeEventArgs.cs (2)
19
/// Initializes an instance of <see cref="
TextChangeEventArgs
"/>.
37
/// Initializes an instance of <see cref="
TextChangeEventArgs
"/>.
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
349
public override event EventHandler<
TextChangeEventArgs
> TextChanged
Microsoft.CodeAnalysis.EditorFeatures.Text (5)
Extensions.SnapshotSourceText.cs (1)
334
var
lastEventArgs = container.LastEventArgs;
Extensions.TextBufferContainer.cs (4)
25
private event EventHandler<
TextChangeEventArgs
>? EtextChanged;
66
public override event EventHandler<
TextChangeEventArgs
> TextChanged
114
var
eventArgs = new TextChangeEventArgs(oldText, newText, changes);
122
public
TextChangeEventArgs
? LastEventArgs { get; private set; }
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (1)
82
public override event EventHandler<
TextChangeEventArgs
> TextChanged;
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Workspaces\LspMiscellaneousFilesWorkspace.cs (1)
117
public override event EventHandler<
TextChangeEventArgs
> TextChanged
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Workspace.TextTracker.cs (3)
23
private readonly EventHandler<
TextChangeEventArgs
> _weakOnTextChanged;
38
_weakOnTextChanged = EventHandlerFactory<
TextChangeEventArgs
>.CreateWeakHandler(this, (target, sender, args) => target.OnTextChanged(sender, args));
47
private void OnTextChanged(object sender,
TextChangeEventArgs
e)