Skip to content

Commit a44ef29

Browse files
committed
1 parent db6dfb0 commit a44ef29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UseCaseMakerControls/RTBLinkEnabled.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ private bool AcceptAutoCompleteItem()
765765
}
766766
SelectionStart = Math.Max(curTokenStartIndex, 0);
767767
SelectionLength = Math.Max(0,curTokenEndIndex - curTokenStartIndex);
768-
if(SelectedText[0] != '\"')
768+
if(SelectedText.Length > 0 && SelectedText[0] != '\"')
769769
{
770770
SelectedText = "\"";
771771
}

0 commit comments

Comments
 (0)