completion list now hidden on hitting space

This commit is contained in:
Manindra Moharana
2013-09-16 21:16:09 +05:30
parent 919015c22a
commit 495ed6856b
2 changed files with 20 additions and 19 deletions

View File

@@ -84,7 +84,7 @@ public class CompletionPanel {
public void mouseClicked(MouseEvent e) {
if (e.getClickCount() == 2) {
insertSelection();
hideSuggestion();
hide();
}
}
});
@@ -137,12 +137,12 @@ public class CompletionPanel {
} catch (BadLocationException e1) {
e1.printStackTrace();
}
hideSuggestion();
hide();
}
return false;
}
public void hideSuggestion() {
public void hide() {
popupMenu.setVisible(false);
log("Suggestion hidden" + System.nanoTime());
//textarea.errorCheckerService.getASTGenerator().jdocWindowVisible(false);