15 references to EditorFactory
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
AbstractCommandHandlerTestState.cs (1)
71
_createdTextView =
EditorFactory
.CreateView(Workspace.ExportProvider, contentType, roles);
EditorFactory.cs (2)
53
WpfTestRunner.RequireWpfFact($"Creates an {nameof(IWpfTextView)} through {nameof(
EditorFactory
)}.{nameof(CreateView)}");
64
WpfTestRunner.RequireWpfFact($"Creates an {nameof(IWpfTextView)} through {nameof(
EditorFactory
)}.{nameof(CreateView)}");
Formatting\CoreFormatterTestsBase.cs (1)
187
var clonedBuffer =
EditorFactory
.CreateBuffer(
Workspaces\EditorTestWorkspace.cs (1)
471
var textBuffer =
EditorFactory
.CreateBuffer(ExportProvider, contentType, initialText);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (10)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (2)
166
using var disposableView =
EditorFactory
.CreateView(exportProvider, code);
731
using var disposableView =
EditorFactory
.CreateView(exportProvider, code);
EditorAdapter\TextSnapshotImplementationTest.cs (1)
22
var buffer =
EditorFactory
.CreateBuffer(exportProvider, lines);
EditorAdapter\TextSpanExtensionsTest.cs (2)
37
var snapshot =
EditorFactory
.CreateBuffer(exportProvider, new string('a', 10)).CurrentSnapshot;
49
var snapshot =
EditorFactory
.CreateBuffer(exportProvider, new string('a', 10)).CurrentSnapshot;
Extensions\ITextSnapshotExtensionsTests.cs (2)
190
var snapshot =
EditorFactory
.CreateBuffer(exportProvider, code).CurrentSnapshot;
212
var snapshot =
EditorFactory
.CreateBuffer(exportProvider, code).CurrentSnapshot;
Extensions\ITextSnapshotLineExtensionsTests.cs (1)
189
var snapshot =
EditorFactory
.CreateBuffer(exportProvider, codeLine).CurrentSnapshot;
Structure\AbstractStructureTaggerProviderTests.cs (1)
19
var buffer =
EditorFactory
.CreateBuffer(exportProvider, input.Split([Environment.NewLine], StringSplitOptions.None));
Tagging\TagSpanIntervalTreeTests.cs (1)
26
var buffer =
EditorFactory
.CreateBuffer(exportProvider, text);