-
Notifications
You must be signed in to change notification settings - Fork 237
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
Xml editor demo #164
Xml editor demo #164
Conversation
Thanks for the contribution, looks good to me. As to your question, you can
|
Thanks for accepting my contribution :) I looked into your JavaKeywordsAsync demo and saw that you are using Java8 streams to handle the change events more efficiently. It is really great, but I still need some more time to study it. Also, if the text is changing because the user is typing, then I can check if the change was made inside an xml tag ( This is just an idea. I don't quite know how to go about it yet. |
They are ReactFX |
Right. Thank you Tomas.
|
@cemartins If you're unfamiliar with Reactive Programming, this article (The introduction to Reactive Programming you've been missing) helped me understand the fundamental ideas behind it. That might help you better understand the ReactFX library. |
Thank you so much Jordan. I will definetely read this article. I also found the course on reactive programming that Tomas mentioned (https://www.coursera.org/course/reactive https://www.coursera.org/course/reactive). Looks like I’m going to be busy learning new tricks for the next few weeks :) Thank you again for your care and support. Kind regards
|
Yes, you'll be busy learning some new tricks, but those tricks will save you hours of headaches. :-) |
Yep. I work in java, but am quite curious about scala, so this course is a bonus! I'm in! :)
|
Hi Tomas,
I closed the previous pull request because I found a bug in my demo. This one is working ok, now.
Here is my pull request with an XMLEditor demo. I thought the poor man's regex parsing method was still the best (I tried with stax, but found it difficult to get the cursor positions on attributes).
I think it might not be very performant with large xml files, since it calls for a full text parsing on every keystroke. Any ideas how I can make this better?
Kind regards
Carlos