This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently JSP scriptlet background can only be set partially by setting the background of the code of the scriptlet, resulting in spotty area in the code, making the eyes very stressful. Please support this as the default setting. Below, I will try to explain further to make sure there is no confusion: I have a jsp page like this: <% //comment, first line of the jsp scriptlet int i; for(i = 0; i < 100; i++){ System.out.println("Hello"); } //comment, last line of the jsp scriptlet %> <table> <tr> <td>some value</td> </tr> </table> Currently (default), the background between (inclusive) the lines: //comment, first line ... to the //comment, last line... is mixed between beige and white depending on there's text there or not. If there's text, then the color is beige, if not, then white: For example above, the color area for the "int i;" would be from the left of the editor up to the right side of the ";" (that is the background of the text). I want the background color to go from the left of the editor, go straight to the right screen. In general, I want a rectangular background of beige/whatever color with the top left coordinate of the first //comment line, and bottom left coordinate of the 2nd //comment line. and the top right and bottom right coordinate of the right hand side of the editor (with the same y coordinate accordingly). Put it another way, a rectangle background enclosing all scriptlet between the <% and %> and no white color anywhere between. For example, I want this background: <% ............................................................................................................................................. ............................................................................................................................................. ............................................................................................................................................. ............................................................................................................................................. ............................................................................................................................................. ............................................................................................................................................. %> but not this: <% ............................................... ........................... ........ ....................................................................... .................................. %> Thank you very much.
i've been wanting to submit this myself for a while. it would make the text appear much nicer.
also it should apply to any 'block style' syntax highlighting.
Hi, I was thinking about this half year ago, but i didn't enough time for implementing this. I will try to put this in the plan for next release. Thanks
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss