mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
hide list on no matches
This commit is contained in:
@@ -664,6 +664,8 @@ public class TextArea extends JEditTextArea {
|
||||
|
||||
protected void showSuggestion(DefaultListModel defListModel,String subWord) {
|
||||
if (defListModel.size() == 0) {
|
||||
System.out.println("No suggestions to show.");
|
||||
hideSuggestion();
|
||||
return;
|
||||
}
|
||||
int position = getCaretPosition();
|
||||
|
||||
Reference in New Issue
Block a user