提交 f19bd121 编写于 作者: D David Barbet

Update toggle block comment documentation.

上级 5baadd6b
......@@ -10,8 +10,6 @@ interface IToggleBlockCommentDocumentDataProvider
/// <summary>
/// Gets the location to insert an empty comment.
/// </summary>
/// <param name="location"></param>
/// <returns></returns>
int GetEmptyCommentStartLocation(int location);
/// <summary>
......
......@@ -77,6 +77,9 @@ public bool ExecuteCommand(CommentSelectionCommandArgs args, CommandExecutionCon
return emptyResult;
}
/// <summary>
/// Retrieves data about the commented selection that can be optionally overriden by subclasses.
/// </summary>
protected virtual async Task<IToggleBlockCommentDocumentDataProvider> GetBlockCommentDocumentData(Document document, ITextSnapshot snapshot,
CommentSelectionInfo commentInfo, CancellationToken cancellationToken)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册