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 190978 - Line is not highlighted first time Ant script is open in Editor
Summary: Line is not highlighted first time Ant script is open in Editor
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 182991 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-13 13:26 UTC by Jiri Kovalsky
Modified: 2010-11-11 14:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of line not highlighted by Ant debugger. (14.40 KB, image/png)
2010-10-13 13:26 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2010-10-13 13:26:35 UTC
Created attachment 102389 [details]
Screenshot of line not highlighted by Ant debugger.

Product Version: NetBeans IDE 7.0 M2 (Build 201010121358)
Java: 1.6.0_22; Java HotSpot(TM) Client VM 17.1-b03
System: Linux version 2.6.31-22-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/cesilko/.netbeans/7.0m2

Description:
============
When Ant debugger opens some build script and stops on some line the line is not highlighted with green color. If the file was already open before, the line is highlighted normally - see attached screenshot.

Steps to reproduce:
===================
1. Launch development build of NetBeans 7.0 or NetBeans 6.9 with empty userdir.
2. Via "File > New Project..." create new Java Application project.
3. Switch to "Files" explorer, expand the new project node.
4. Right click "build.xml" node and choose "Debug Target > run" from popup menu.
5. "build.xml" file will be open in the Editor, debugger will stop at line 11 but it will not be highlighted with green color.
Comment 1 Martin Entlicher 2010-10-26 12:14:35 UTC
Reproduced.
Comment 2 Martin Entlicher 2010-10-26 13:55:09 UTC
This must be a problem of the annotation drawing.
The icon is present in the gutter, just the line highlight is missing.
When I submit a breakpoint in that file, the current line annotation appears.
Comment 3 Jan Lahoda 2010-11-09 16:17:42 UTC
http://hg.netbeans.org/jet-main/rev/d76e8c61b7df
Comment 4 Quality Engineering 2010-11-10 06:11:12 UTC
Integrated into 'main-golden', will be available in build *201011100000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d76e8c61b7df
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #190978: ensure annotations are painted as soon as the document is opened.
Comment 5 Jan Lahoda 2010-11-11 14:00:29 UTC
*** Bug 182991 has been marked as a duplicate of this bug. ***