-
-
Notifications
You must be signed in to change notification settings - Fork 7k
exception thrown when font change with [ctrl+wheel] and a mouseMoved event happens #7861
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
Comments
I tried to dig deeper into this bug once, but it's not easily solvable by our side (rsyntaxtextarea does a lot of math but no obvious division by zero). I've only experienced it when zooming in and out compulsively, so it may be related with timings and events. |
This may be interesting... (no more just from compulsive scrolling) 😉 |
may be related: bobbylight/RSyntaxTextArea#257 |
Hope this helps.. |
It seems a check was missed, since we initialize lineHeight to 0... this fixes arduino/Arduino#7861
It seems a check was missed, since we initialize lineHeight to 0... this fixes arduino/Arduino#7861
Can we get this merged? :) |
It would be cool if @bobbylight could release a bugfix-only version of RSyntaxTextArea instead than forcing us to self compile it from git head 😉 |
Until I create a new release (should be before the end of the year), you can use the 3.0.0-SNAPSHOT version from the Sonartype maven repo. |
Looks like we can now bundle the binary. @facchinm can we get this bundled in an hourly build? |
@Vipas-ana sure, thanks for the heads up! |
Version
Arduino 1.8.5
Arduino 1.9.0 beta 78
OS
Mac OS 10.11.6
Behavior
Use the [ ctrl+scroll wheel ] to change the font size in the SketchTextArea, making sure not to move the mouse while doing so. If you then do the same while moving the mouse, this exception is thrown. Font size change must be ~20 points to throw the exception.
The text was updated successfully, but these errors were encountered: