Yes, this check should be in place. Here
is a sample which demonstrates how you can work around this issue.
In the EditControl''s ContextPromptPopup event you can add a check:
if ((e.ItemName == "function1") && (!this.editControl1.GetString(this.editControl1.CurrentLine,1,this.editControl1.CurrentLine,3).StartsWith("/")))
to ensure that the context prompt is not displayed if the line begins with a "/".