1 implementation of ISourceTextUndoService
Microsoft.CodeAnalysis.EditorFeatures (1)
Undo\DefaultSourceTextUndoService.cs (1)
16internal sealed class DefaultSourceTextUndoService : ISourceTextUndoService
8 references to ISourceTextUndoService
Microsoft.CodeAnalysis.EditorFeatures (8)
CodeActions\CodeActionEditHandlerService.cs (1)
137using (workspace.Services.GetRequiredService<ISourceTextUndoService>().RegisterUndoTransaction(text, title))
Editor\TextEditApplication.cs (2)
36var undoService = workspace.Services.GetRequiredService<ISourceTextUndoService>();
Undo\DefaultSourceTextUndoService.cs (1)
15[ExportWorkspaceService(typeof(ISourceTextUndoService), ServiceLayer.Default), Shared]
Undo\EditorSourceTextUndoService.cs (4)
18[ExportWorkspaceService(typeof(ISourceTextUndoService), ServiceLayer.Editor), Shared] 21internal sealed class EditorSourceTextUndoService(ITextUndoHistoryRegistry undoHistoryRegistry) : ISourceTextUndoService 65private sealed class SourceTextUndoTransaction(ISourceTextUndoService service, SourceText sourceText, string description) : ISourceTextUndoTransaction 67private readonly ISourceTextUndoService _service = service;