We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db6dfb0 commit a44ef29Copy full SHA for a44ef29
src/UseCaseMakerControls/RTBLinkEnabled.cs
@@ -765,7 +765,7 @@ private bool AcceptAutoCompleteItem()
765
}
766
SelectionStart = Math.Max(curTokenStartIndex, 0);
767
SelectionLength = Math.Max(0,curTokenEndIndex - curTokenStartIndex);
768
- if(SelectedText[0] != '\"')
+ if(SelectedText.Length > 0 && SelectedText[0] != '\"')
769
{
770
SelectedText = "\"";
771
0 commit comments