diff --git a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/util/autocomplete/XPathAutocompleteProvider.java b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/util/autocomplete/XPathAutocompleteProvider.java index 4f9cfcba18..16eddc4052 100644 --- a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/util/autocomplete/XPathAutocompleteProvider.java +++ b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/util/autocomplete/XPathAutocompleteProvider.java @@ -66,6 +66,7 @@ public final class XPathAutocompleteProvider { Set completionTriggers = new HashSet<>(Arrays.asList("\r", "\r\n", "\n", "\t")); // allows tab/enter completion + // FIXME doesn't work on java 9 autoCompletePopup.addEventHandler(KeyEvent.KEY_TYPED, e -> { // for some reason using KeyEvent.KEY_PRESSED didn't work with the ENTER key,