10 references to InsertText
Microsoft.CodeAnalysis.EditorFeatures (10)
CommentSelection\AbstractToggleBlockCommentBase.cs (6)
234InsertText(textChanges, selectedSpan.Start, commentInfo.BlockCommentEndString); 235InsertText(textChanges, selectedSpan.Start, commentInfo.BlockCommentStartString); 243InsertText(textChanges, selectedSpan.End, commentInfo.BlockCommentEndString); 244InsertText(textChanges, selectedSpan.End, commentInfo.BlockCommentStartString); 254InsertText(textChanges, span.Start, commentInfo.BlockCommentStartString); 255InsertText(textChanges, span.End, commentInfo.BlockCommentEndString);
CommentSelection\CommentUncommentSelectionCommandHandler.cs (3)
174InsertText(textChanges, span.Start, commentInfo.BlockCommentStartString); 175InsertText(textChanges, span.End, commentInfo.BlockCommentEndString); 310InsertText(textChanges, line.Start + indentToCommentAt, info.SingleLineCommentString);
CommentSelection\ToggleLineCommentCommandHandler.cs (1)
148InsertText(textChanges, line.Start + indentation, commentInfo.SingleLineCommentString);