Skip to content

Commit

Permalink
Merge pull request #12 from valyo/2.5.x
Browse files Browse the repository at this point in the history
Bug 3193 again - another fix related to tab completion
  • Loading branch information
goglepox committed Jun 5, 2012
2 parents 5d5a14f + 84e7ae0 commit 73f6f1c
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 73f6f1c

Please sign in to comment.