-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Update rsyntaxarea to 2.6.1 #5960
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
Conversation
@septillion-git can you test the binary that @ArduinoBot will produce? Thanks! |
Oh good, so glad you're updating. I've been seeing occasional NPEs while working in external editor mode. The stack trace usually indicates stuff deep within rsyntaxarea. Hope this improves the situation! :-) |
@ArduinoBot this time built the IDE but failed publishing its stuff 😢 ✅ Build completed. Please test this code using one of the following: ⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5960-BUILD-646-linux32.tar.xz ℹ️ The |
I recall that some earlier cleanups removed the need for an Arduino-specific version of RSTA (though that might have been in my local copy only, it's been a while). Did you happen to try with the upstream version? I can probably find some time tomorrow to figure out the status of this as well. |
@matthijskooijman you are correct, I backported @ffissore's patch here https://github.com/arduino/RSyntaxTextArea/tree/2.6.1.1+arduino so the jar is generated from that tree |
Look like it's fixed 😀 Only thing I notice is that a highlighted word stays highlighted when the line becomes a comment but that's something all comments have. But yeah, variable/function highlighting is to damn slow to be useful anyway in my opinion... 🙄 |
I've been using it for about an hour, and so far no NPEs! :) |
Oh, looks like I spoke too soon. Just got a NPE while in external editor mode. Please do not hold up this PR. But here's the NPE...
|
I had a look around in my local repo and found an "undo" branch with a small cleanup that removes the need for A more thorough cleanup could move all actions to the RSTA ones (instead of just undo/redo), but I haven't tried that yet (and not all actions are configured in the same way, it seems). |
Fixed by #6022 |
Fixes #5888