Hi !
As soon as my CodeArea gets empty, the application throws :
Exception in thread "JavaFX Application Thread" java.lang.IllegalStateException: Cannot get the type of a change that neither inserts nor deletes anything.
Any alternaive to that has been released ?
text.richChanges() .filter(ch -> !ch.getInserted().equals(ch.getRemoved())) // XXX .subscribe(change -> { text.setStyleSpans(0, computeHighlighting(text.getText())); });
I just need Syntaxe Higlighting.
Hi !
As soon as my CodeArea gets empty, the application throws :
Any alternaive to that has been released ?
text.richChanges() .filter(ch -> !ch.getInserted().equals(ch.getRemoved())) // XXX .subscribe(change -> { text.setStyleSpans(0, computeHighlighting(text.getText())); });I just need Syntaxe Higlighting.