public static void DefinitionByMouseClickManager_TextAreaMouseDown(object sender, EventArgs e)
        {
            TextArea textArea = (TextArea)sender;

            if (Control.ModifierKeys == Keys.Control && textArea.SelectionManager.SelectionCollection.Count == 0)
            {
                gotoInProgress = true;
                if (CodeCompletionActionsManager.CanGoToRealization(textArea))
                {
                    CodeCompletionActionsManager.GotoRealization(textArea);
                }
                else if (CodeCompletionActionsManager.CanGoTo(textArea))
                {
                    CodeCompletionActionsManager.GotoDefinition(textArea);
                }
                gotoInProgress = false;
            }
        }
Ejemplo n.º 2
0
 private void GotoRealizationClicked(object sender, EventArgs args)
 {
     //GotoAction ga = new GotoAction();
     CodeCompletionActionsManager.GotoRealization(CurrentCodeFileDocument.TextEditor.ActiveTextAreaControl.TextArea);
 }