You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NetBeans adds blank space in the editor at the bottom of files. The viewport highlighting in the code outline does not take this into account and highlights a different (larger) section of the file than is visible in the editor viewport (see example screenshot below).
To compensate for the blank space that NetBeans adds, the section highlighted in the code outline would either have to shrink correspondingly, or else sufficient blank space would have to be added to the bottom in the code outline as well. Personally, I think the first option would be preferable.
The text was updated successfully, but these errors were encountered:
nmatt
changed the title
Viewport highlighting is not accurate at bottom of file
Viewport highlighting is not accurate
Jan 8, 2016
PS: The highlighting is inaccurate not just at the bottom, but throughout the file. The shorter the file, the more inaccurate it gets. Here is another example where the full code is visible in the editor window, but only part of it is highlighted in the code outline:
Thanks @nmatt: It depends somehow on the font-size. The font-size isn't taken in account.
I will have to dig deep in others code for that. So do not expect me to do this soon. The original code of BlueJ uses the font-size 1 IIRC, so the new font-size option from #20 may introduced this issue.
NetBeans adds blank space in the editor at the bottom of files. The viewport highlighting in the code outline does not take this into account and highlights a different (larger) section of the file than is visible in the editor viewport (see example screenshot below).
To compensate for the blank space that NetBeans adds, the section highlighted in the code outline would either have to shrink correspondingly, or else sufficient blank space would have to be added to the bottom in the code outline as well. Personally, I think the first option would be preferable.
The text was updated successfully, but these errors were encountered: