Skip to content

Empty CodeArea #660

@senges

Description

@senges

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions