There is a bug in class JavaKeywordsAsync.java. The method multiPlainChanges() does not exist. The method must be replaced by method plainTextChanges()
public void start(Stage primaryStage) {
executor = Executors.newSingleThreadExecutor();
codeArea = new CodeArea();
codeArea.setParagraphGraphicFactory(LineNumberFactory.get(codeArea));
Subscription cleanupWhenDone = codeArea.multiPlainChanges()
.successionEnds(Duration.ofMillis(500))
.supplyTask(this::computeHighlightingAsync)
...
There is a bug in class
JavaKeywordsAsync.java. The methodmultiPlainChanges()does not exist. The method must be replaced by methodplainTextChanges()