Groovy Highlighting
Reported by ronin-144397 (at lighthouseapp) | April 5th, 2011 @ 05:38 PM
When editing large groovy files, the highlighting crashes, and I
have to Reload File to get it working again.
That didn't happen too much when editing Ruby files.
Comments and changes to this ticket
-
delisa April 5th, 2011 @ 06:27 PM
does it happen right when the file length reaches 100 lines?
https://redcar.lighthouseapp.com/projects/25090/tickets/470-when-th...(using strip trailing spaces option prevents this, btw)
edit: I'm glad someone is using Groovy in redcar!
-
ronin-144397 (at lighthouseapp) April 13th, 2011 @ 12:15 PM
No, it won't crashes because file length.
The problem occurs when I have much strings in a same line, then the highlighting shows inconsistency on what is string and what is code. (e.g. in a collection of strings, the highlighting shows up commas as strings and string as code)
Other example is when passing strings as parameters to constructors using : (two points) as separator (e.g. new Something(name:"String Test", test:"Groovy Highlighting")). When those arguments are too much, highlighting seams doesn't know what is code and what is string.
Note: That "crash" in highlighting is only when it tries to highlight while I'm typing. When I click on "Reload File", highlight gets right again.
(Actually I think that is not a "crash", is a inconsistency, or whatever)
Other thing I noticed is if I have a line too large (+500 columns), highlighting fails from 500 column to end of line. I understand that my line is too large and is hard to handle files that way, but I'm reporting this here to let you know. :]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.