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 245052 - In file diff window, Need navigation option to move to currently selected diff
Summary: In file diff window, Need navigation option to move to currently selected diff
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-14 05:25 UTC by adithyank
Modified: 2014-09-13 04:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adithyank 2014-06-14 05:25:56 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Linux version 2.6.32-431.17.1.el6.x86_64 running on i386
Java; VM; Vendor = 1.8.0
Runtime = Java HotSpot(TM) Client VM 25.0-b70

if we are seeing file diff, if there only one diff, there no way to directly reach the diff point without scrolling in the file. actually, u can say that there is an indicator in the right side bar. this indication is hidden if some warning msg is there in the same line or nearby lines.

 if for diff count > 1, we are using up/down arrows in the top panel. that too if diff top bar says 2/12 and for some other reason i am seeing some other portion of code then I cannot come to 2nd diff (2 is the current diff) directly. I have to use the UP arrow once so that I comes to 1st diff and then use DOWN arrow again to go to the 2nd diff, that is the current diff. 

THis it self is a workaround. THere should be a button some where nearby so that we can directly go to the currently selected diff..
This may seem to be a very trivial issue. But, during code review and code commit processes, this operation is done by me at least 50 times a day. I am struggling all the 50 times.
Comment 1 Ondrej Vrabec 2014-09-04 08:22:22 UTC
i do not want to add any other buttons to the toolbar just for this use-case. But what about having the text (2/12) clickable which would jump to the current difference?
Comment 2 adithyank 2014-09-05 19:11:07 UTC
Yes. Button is not my intention. My intention is to have a facility to navigate to the current difference...

As you said, clickable numerator in that text (2/12) is enough.....

Thank you so much for considering this.......!
Comment 3 Ondrej Vrabec 2014-09-12 09:21:16 UTC
How about this, then? The text [3/15] is now clickable and gets you to the current diff.

fixed: core-main #b2ad25cc29d7
Comment 4 Quality Engineering 2014-09-13 04:53:14 UTC
Integrated into 'main-silver', will be available in build *201409130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b2ad25cc29d7
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #245052 - In file diff window, Need navigation option to move to currently selected diff