Esempio n. 1
0
 protected void RaiseIsVisibleChanged(ITextView textView)
 {
     if (_isVisibleChanged != null)
     {
         var args = new TextViewEventArgs(textView);
         _isVisibleChanged(this, args);
     }
 }
Esempio n. 2
0
 public void RaiseIsVisibleChanged(ITextView textView)
 {
     if (_isVisibleChanged != null)
     {
         var args = new TextViewEventArgs(textView);
         _isVisibleChanged(this, args);
     }
 }
Esempio n. 3
0
 private void MiniCodeColPlugIn_TextViewActivated(TextViewEventArgs ea)
 {
     //if (!CodeToolWindow.OnAir)
     //    try
     //    {
     //        CodeRush.ToolWindows.Show(typeof(CodeToolWindow));
     //    }
     //    catch
     //    {
     //    }
 }
        private void MiniCodeColPlugIn_TextViewActivated(TextViewEventArgs ea)
        {
            //if (!CodeToolWindow.OnAir)
            //    try
            //    {
            //        CodeRush.ToolWindows.Show(typeof(CodeToolWindow));
            //    }
            //    catch
            //    {
            //    }

        }
Esempio n. 5
0
 private void OnIsVisibleChanged(object sender, TextViewEventArgs e)
 {
     if (e.TextView == _vimBufferData.TextView)
     {
         _isVisible = _vimBufferData.Vim.VimHost.IsVisible(e.TextView);
         if (_isVisible)
         {
             UpdateAllMarks();
         }
         else
         {
             _glyphPairs.Clear();
         }
     }
 }
        /// <summary>
        /// Occurs when the incremental search mode of an <see cref="ITextView"/> is activated or deactivated.
        /// </summary>
        /// <param name="sender">The sender of the event.</param>
        /// <param name="e">An <see cref="EditorViewSelectionEventArgs"/> that contains the event data.</param>
        private void OnSyntaxEditorViewIsIncrementalSearchActiveChanged(object sender, TextViewEventArgs e)
        {
            IEditorView editorView = e.View as IEditorView;

            if ((editorView != null) && (!editorView.IsIncrementalSearchActive))
            {
                // Incremental search is now deactivated
                messagePanel.Content = "Ready";
            }
        }
 private void events_TextViewActivated(TextViewEventArgs ea)
 {
     RestartTimer();
 }
 private void PlugIn1_TextViewActivated(TextViewEventArgs ea)
 {
     if (_WaitingForViewActivate)
     {
         _WaitingForViewActivate = false;
         TextDocument activeTextDocument = CodeRush.Documents.ActiveTextDocument;
         if (activeTextDocument != null)
             StartTargetPicker(activeTextDocument);
     }
 }
 private void events_TextViewActivated(TextViewEventArgs ea)
 {
     RestartTimer();
 }