-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fixed #890 #903
Fixed #890 #903
Conversation
👍 |
I think the method
in layout.java should be changed too. And then there is
which also sets the highlightPattern to null...thus I would expect (i.e. add test for it) that an NPE is thrown. Otherwise 👍 |
I think that is the method I changed. Is there another method (I searched, but rather quickly)? Yes, the layout package could benefit from more testing... |
No you are right...you exactly changed the method I mentioned. My bad 😄. |
But there is a corresponding method in LayoutEntry, which I think should be fixed as well. Ah, OK! I'll have a look (or maybe the highlighter is never invoked in the test case?). |
I fixed the other place as well, but happened to change to more use of switching... In the long term it would make sense to change the integers now used to an enumeration. I also realized that all |
👍 |
This should fix #890