Exemple #1
0
 public void CloseCodeCompletionWindow(object sender, EventArgs e)
 {
     if (codeCompletionWindow != null)
     {
         codeCompletionWindow.Closed -= new EventHandler(CloseCodeCompletionWindow);
         CodeCompletionProvider.disp.Reset();
         CodeCompletion.AssemblyDocCache.Reset();
         CodeCompletion.UnitDocCache.Reset();
         codeCompletionWindow.Dispose();
         codeCompletionWindow = null;
     }
     comp_windows[textArea] = null;
 }
Exemple #2
0
 void CloseCodeCompletionWindow(object sender, EventArgs e)
 {
     if (codeCompletionWindow != null)
     {
         codeCompletionWindow.Closed -= new EventHandler(CloseCodeCompletionWindow);
         CodeCompletionProvider.disp.Reset();
         CodeCompletion.AssemblyDocCache.Reset();
         CodeCompletion.UnitDocCache.Reset();
         codeCompletionWindow.Dispose();
         CodeCompletionNamesOnlyInModuleAction.comp_windows[editor.ActiveTextAreaControl.TextArea] = null;
         codeCompletionWindow = null;
     }
 }