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 187331 - [69cat] Diff sidebar should indicate modifications in folded blocks
Summary: [69cat] Diff sidebar should indicate modifications in folded blocks
Status: REOPENED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-08 13:28 UTC by ulfzibis
Modified: 2014-06-05 12:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screen shot (10.31 KB, image/png)
2010-08-13 23:01 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2010-06-08 13:28:34 UTC
[ BUILD # : RC 2 ]
[ JDK VERSION : 1.6.18 ]

- make a change in a javadoc block
- collapse the block
--> history bar, indicating the modification, disappears
Comment 1 Ondrej Vrabec 2010-06-11 11:53:24 UTC
ulf, what do you mean by 'history bar'? Can you attach a screenshot?
Comment 2 ulfzibis 2010-06-11 19:10:26 UTC
I mean the blue/green coloured bar at the left border of the editor pane.
I my case, the project is svn-versioned, so actually it indicates modifications against svn-base.
What's the official name for this bar? Thanks.
Comment 3 Ondrej Vrabec 2010-06-14 08:21:03 UTC
I believe you mean the Diff Sidebar (View -> Show Diff Sidebar). But i am slightly confused about your request. Diff markers are bound to concrete lines in editor, so if you collapse a section and the line is hidden, so should be the marker. That's how breakpoints or other glyphs work. If you collapse e.g. a whole method, breakpoint glyphs become hidden too.
Are you suggesting to display a marker right on the first line of the collapsed section?
Comment 4 Ondrej Vrabec 2010-07-30 09:58:23 UTC
ulf, please evaluate.
Comment 5 ulfzibis 2010-08-13 23:01:14 UTC
Created attachment 101380 [details]
Screen shot

1. If modification is in 1st line of folded block, diff sidebar appears.
2. If modification is in other line, diff sidebar appears NOT, but SHOULD.
3. In case of different modification types, modified colour (blue) should appear.
4. Other glyphs are in different column, so could be treated different, but in case of breakpoints in the folded block, it should be nice too, to have it displayed.
BTW, the override glyph too is displayed, if method is folded, because it's always in the 1st line.