private void Retrigger()
 {
     Dispatcher.CurrentDispatcher.BeginInvoke(new Action(() =>
     {
         CssCompletionController.FromView(_textView).OnShowMemberList(true);
     }), DispatcherPriority.Normal, null);
 }
Example #2
0
 public void OnCommitted(ICssCompletionListEntry entry, Microsoft.VisualStudio.Text.ITrackingSpan contextSpan, Microsoft.VisualStudio.Text.SnapshotPoint caret, Microsoft.VisualStudio.Text.Editor.ITextView textView)
 {
     if (Path.GetExtension(entry.DisplayText).Length == 0)
     {
         Dispatcher.CurrentDispatcher.BeginInvoke(
             new Action(() => CssCompletionController.FromView(textView).OnShowMemberList(filterList: true, autoShown: true)), DispatcherPriority.Normal);
     }
 }
 private static void ColorAdornmentMouseUp(IWpfTextView view)
 {
     try
     {
         CssCompletionController.FromView(view).OnShowMemberList(filterList: true);
     }
     catch
     { }
 }