Navigation Menu

Skip to content

Commit

Permalink
Bug 3193 again - another fix related to tab completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Georgiev committed Jun 4, 2012
1 parent b272ebb commit 84e7ae0
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -209,7 +209,13 @@ public void keyReleased(KeyEvent _) { }
input = new Text(parent, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL);
input.setFont(JFaceResources.getTextFont());
input.addKeyListener( new KeyListener() {
public void keyPressed(KeyEvent e) { handleKey(e); }
public void keyPressed(KeyEvent e) {
handleKey(e);
if (e.keyCode == SWT.TAB) {
e.doit = false;
tabComplete();
}
}
public void keyReleased(KeyEvent _) { }
});
input.addTraverseListener( new TraverseListener() {
Expand Down

0 comments on commit 84e7ae0

Please sign in to comment.