Skip to content

Commit

Permalink
Revert "distinguish command-click from other gestures that cause go t…
Browse files Browse the repository at this point in the history
…o function definition"

This reverts commit caf5233.
  • Loading branch information
jjallaire committed Mar 12, 2012
1 parent d309212 commit 13de0ba
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 19 deletions.
Expand Up @@ -24,8 +24,6 @@ interface InitCompletionFilter
boolean shouldComplete(NativeEvent keyDownEvent) ;
}

void commandClick();

void goToFunctionDefinition();

void close();
Expand Down
Expand Up @@ -20,10 +20,6 @@ public void close()
{
}

public void commandClick()
{
}

public void goToFunctionDefinition()
{
}
Expand Down
Expand Up @@ -149,11 +149,6 @@ public void close()
popup_.hide();
}

public void commandClick()
{
goToFunctionDefinition()
; }

public void goToFunctionDefinition()
{
// determine current line and cursor position
Expand Down
Expand Up @@ -133,12 +133,6 @@ else if (event.getKeyCode() == 113) // F2
return false;
}

@Override
public void commandClick()
{
goToFunctionDefinition();
}

@Override
public void goToFunctionDefinition()
{
Expand Down
Expand Up @@ -258,8 +258,8 @@ public void onClick(AceClickEvent event)
// set the cursor position
setCursorPosition(event.getDocumentPosition());

// notify completion manager of a command click
completionManager_.commandClick();
// go to function definition
completionManager_.goToFunctionDefinition();
}
}
});
Expand Down

0 comments on commit 13de0ba

Please sign in to comment.