diff --git a/src/EditorFeatures/Core/Implementation/CommentSelection/IToggleBlockCommentDocumentDataProvider.cs b/src/EditorFeatures/Core/Implementation/CommentSelection/IToggleBlockCommentDocumentDataProvider.cs index fedc231bbf6d2dc260ae1a3d8b57ee4a643ec26b..3282c0645ef72532cdd2928a99c4205782b99607 100644 --- a/src/EditorFeatures/Core/Implementation/CommentSelection/IToggleBlockCommentDocumentDataProvider.cs +++ b/src/EditorFeatures/Core/Implementation/CommentSelection/IToggleBlockCommentDocumentDataProvider.cs @@ -10,8 +10,6 @@ interface IToggleBlockCommentDocumentDataProvider /// /// Gets the location to insert an empty comment. /// - /// - /// int GetEmptyCommentStartLocation(int location); /// diff --git a/src/EditorFeatures/Core/Implementation/CommentSelection/ToggleBlockCommentCommandHandler.cs b/src/EditorFeatures/Core/Implementation/CommentSelection/ToggleBlockCommentCommandHandler.cs index d40bb0d6e741cec378a5d7924ad16cd8b6704d78..c18f7b45cc9ce521ecd22b835c85931b4f1bf739 100644 --- a/src/EditorFeatures/Core/Implementation/CommentSelection/ToggleBlockCommentCommandHandler.cs +++ b/src/EditorFeatures/Core/Implementation/CommentSelection/ToggleBlockCommentCommandHandler.cs @@ -77,6 +77,9 @@ public bool ExecuteCommand(CommentSelectionCommandArgs args, CommandExecutionCon return emptyResult; } + /// + /// Retrieves data about the commented selection that can be optionally overriden by subclasses. + /// protected virtual async Task GetBlockCommentDocumentData(Document document, ITextSnapshot snapshot, CommentSelectionInfo commentInfo, CancellationToken cancellationToken) {