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.

Bug 147610

Summary: Underline the whitespace after the error containing only whitespace
Product: javafx Reporter: David Strupl <dstrupl>
Component: EditorAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: blocker CC: jimidle, jlahoda
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description David Strupl 2008-09-18 15:17:03 UTC
When there is an error indicating that something is missing in the source code the whitespace is underlined at the place
where it is missing. The error underline should continue to the first non-whitespace token.
Comment 1 David Strupl 2008-10-10 13:57:47 UTC
This one is implemented in our code but it is not visible to the end user since the error annotation infrastructure of
the NetBeans editor tries to be smarter than the caller of the API and does not underline empty whitespace from start of
the line end towards the end of line. I might eventually enter an issue there but it will not get into 6.5 release of
NetBeans. Cc:-ing the original reported (Jim) and the owner of the relevant part on NB editor side (Jan).

For Jim: you can check that with the latest plugin if the e.g. missing semi and the next declaration is on one line the
relevant part gets underlined correctly. If you hit enter in the whitespace area the underlining disappear. Leaving this
one opened as P4 for me.
Comment 2 J Bachorik 2009-04-23 13:40:14 UTC
Could you provide an example of such a code, plz?
Comment 3 J Bachorik 2009-04-23 15:06:26 UTC
Right now we decided to go for consistency with the java editor.

The extra information may be utilized in the future versions of javafx plugin.
Comment 4 Alexandr Scherbatiy 2009-09-04 12:17:39 UTC
verified