1 implementation of ITextBufferCloneService
Microsoft.CodeAnalysis.EditorFeatures.Text (1)
Implementation\TextBufferFactoryService\TextBufferCloneServiceFactory.cs (1)
15
internal sealed class TextBufferCloneService :
ITextBufferCloneService
16 references to ITextBufferCloneService
Microsoft.CodeAnalysis.EditorFeatures.Text (16)
Extensions.cs (4)
41
textSnapshot.TextBuffer.Properties.TryGetProperty<
ITextBufferCloneService
>(typeof(
ITextBufferCloneService
), out
var
textBufferCloneServiceOpt);
45
internal static SourceText AsRoslynText(this ITextSnapshot textSnapshot,
ITextBufferCloneService
textBufferCloneServiceOpt, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm)
Extensions.SnapshotSourceText.cs (9)
33
private readonly
ITextBufferCloneService
? _textBufferCloneService;
38
private SnapshotSourceText(
ITextBufferCloneService
? textBufferCloneService, ITextSnapshot editorSnapshot, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm, TextBufferContainer container)
49
public SnapshotSourceText(
ITextBufferCloneService
? textBufferCloneService, ITextImage textImage, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm, TextBufferContainer? container)
71
public static SourceText From(
ITextBufferCloneService
? textBufferCloneService, ITextSnapshot editorSnapshot)
85
var
tempTextBufferCloneService = textBufferCloneService;
95
internal static SourceText From(
ITextBufferCloneService
? textBufferCloneService, ITextSnapshot editorSnapshot, TextBufferContainer container)
198
var
factory = _textBufferCloneService;
267
public ClosedSnapshotSourceText(
ITextBufferCloneService
? textBufferCloneService, ITextImage textImage, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm)
281
public ChangedSourceText(
ITextBufferCloneService
? textBufferCloneService, SnapshotSourceText baseText, ITextSnapshot baseSnapshot, ITextSnapshot currentSnapshot)
Extensions.TextBufferContainer.cs (2)
23
private readonly
ITextBufferCloneService
? _textBufferCloneService;
33
editorBuffer.Properties.TryGetProperty(typeof(
ITextBufferCloneService
), out _textBufferCloneService);
Implementation\TextBufferFactoryService\TextBufferCloneServiceFactory.cs (1)
14
[Export(typeof(
ITextBufferCloneService
)), Shared]