[ 1735043 ] AutoCompletion: drop down box is showed even if i press Caps
http://sourceforge.net/tracker/index.php?func=detail&aid=1735043&group_id=176962&atid=879332
This commit is contained in:
parent
4031932f4c
commit
595f062839
|
@ -43,6 +43,11 @@ public class AutoCompletion extends PlainDocument {
|
|||
});
|
||||
editorKeyListener = new KeyAdapter() {
|
||||
public void keyPressed(KeyEvent e) {
|
||||
// Ignore keys that do not alter the text - teo_sarca [ 1735043 ]
|
||||
if (e.getKeyChar() == KeyEvent.CHAR_UNDEFINED) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (comboBox.isDisplayable()) comboBox.setPopupVisible(true);
|
||||
hitBackspace=false;
|
||||
switch (e.getKeyCode()) {
|
||||
|
|
Loading…
Reference in New Issue