10 references to InsertText
Microsoft.CodeAnalysis.EditorFeatures (10)
CommentSelection\AbstractToggleBlockCommentBase.cs (6)
239InsertText(textChanges, selectedSpan.Start, commentInfo.BlockCommentEndString); 240InsertText(textChanges, selectedSpan.Start, commentInfo.BlockCommentStartString); 248InsertText(textChanges, selectedSpan.End, commentInfo.BlockCommentEndString); 249InsertText(textChanges, selectedSpan.End, commentInfo.BlockCommentStartString); 259InsertText(textChanges, span.Start, commentInfo.BlockCommentStartString); 260InsertText(textChanges, span.End, commentInfo.BlockCommentEndString);
CommentSelection\CommentUncommentSelectionCommandHandler.cs (3)
182InsertText(textChanges, span.Start, commentInfo.BlockCommentStartString); 183InsertText(textChanges, span.End, commentInfo.BlockCommentEndString); 318InsertText(textChanges, line.Start + indentToCommentAt, info.SingleLineCommentString);
CommentSelection\ToggleLineCommentCommandHandler.cs (1)
154InsertText(textChanges, line.Start + indentation, commentInfo.SingleLineCommentString);