protected void RaiseIsVisibleChanged(ITextView textView) { if (_isVisibleChanged != null) { var args = new TextViewEventArgs(textView); _isVisibleChanged(this, args); } }
public void RaiseIsVisibleChanged(ITextView textView) { if (_isVisibleChanged != null) { var args = new TextViewEventArgs(textView); _isVisibleChanged(this, args); } }
private void MiniCodeColPlugIn_TextViewActivated(TextViewEventArgs ea) { //if (!CodeToolWindow.OnAir) // try // { // CodeRush.ToolWindows.Show(typeof(CodeToolWindow)); // } // catch // { // } }
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); } }