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 88395 - Annotation icon not aligned with annotation highlighing
Summary: Annotation icon not aligned with annotation highlighing
Status: RESOLVED DUPLICATE of bug 75144
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 10:28 UTC by Marian Petras
Modified: 2007-11-05 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot displaying misaligned annotations (4.68 KB, image/gif)
2006-11-01 10:30 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2006-11-01 10:28:48 UTC
[NetBeans 6.0 dev. build 061018]

(This is applicable only to annotations that use background highlighting of the
annotated line, such as line breakpoint annotations).

The annotation's icon can be made misaligned with the highlighting such that the
icon is at the different line than the highlighting (see the screenshot). The
misalignment appears if the user presses Ctrl-Enter in the beginning of the
annotated line - the action inserts an empty line in place of the current line.
The current line and the annotation icon are shifted down, but the background
highlighting is not shifted. If the user then presses Enter repeatedly, more
lines are inserted and the misalignment gets larger and larger.
Comment 1 Marian Petras 2006-11-01 10:30:16 UTC
Created attachment 35692 [details]
screenshot displaying misaligned annotations
Comment 2 Vitezslav Stejskal 2006-12-20 03:53:50 UTC

*** This issue has been marked as a duplicate of 75144 ***