Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the demo JavaKeywordsAsync.java have a bug #725

Closed
lhuangjs opened this issue Apr 11, 2018 · 2 comments
Closed

the demo JavaKeywordsAsync.java have a bug #725

lhuangjs opened this issue Apr 11, 2018 · 2 comments

Comments

@lhuangjs
Copy link

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)
...
@JordanMartinez
Copy link
Contributor

It exists. You're probably using the wrong RTFX version (there isn't a stable release that includes that method yet) or have an issue with your dependencies' cache.

@JordanMartinez
Copy link
Contributor

Since I haven't heard back from you and the latest stable release 0.9.0 includes the API, I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants