[ 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() {
|
editorKeyListener = new KeyAdapter() {
|
||||||
public void keyPressed(KeyEvent e) {
|
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);
|
if (comboBox.isDisplayable()) comboBox.setPopupVisible(true);
|
||||||
hitBackspace=false;
|
hitBackspace=false;
|
||||||
switch (e.getKeyCode()) {
|
switch (e.getKeyCode()) {
|
||||||
|
|
Loading…
Reference in New Issue