Esempio n. 1
0
 protected override void OnTextHasChanged(GuiLabs.Canvas.Controls.ITextProvider changedControl, string oldText, string newText)
 {
     if (Completion.Visible)
     {
         if (!Completion.ExistingItemsHavePrefix(this.Text))
         {
             Completion.HideCompletionList();
         }
         else
         {
             Completion.ShowCompletionList(this, this.Text);
         }
     }
     base.OnTextHasChanged(changedControl, oldText, newText);
 }
 void MyTextBox_TextChanged(GuiLabs.Canvas.Controls.ITextProvider sender, string oldText, string newText)
 {
     Reparse();
 }