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 59268 - no shortcut for next diff on macosx
Summary: no shortcut for next diff on macosx
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: diff-issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-26 09:05 UTC by Milos Kleint
Modified: 2005-11-14 14:54 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 Milos Kleint 2005-05-26 09:05:27 UTC
4.2 dev builds + jdk 1.4.2 on macosx

when I do a cvs diff on a file, I always need to click the 2 buttons on top to
get to the next difference. I would assume that the Find next/Find previous
shortcuts should work as as in other areas of the IDE. it's <apple sign>+G for
next on mac. I haven't checked if it works on other platforms.
Comment 1 Peter Pis 2005-05-26 09:52:06 UTC
For previous and next difference there are shortcuts ALT+P, ALT+N. 
Comment 2 Milos Kleint 2005-05-26 10:11:04 UTC
Find next occurence should be Command-G and Find previous occurence should be
Shift-Command-G on macosx. That's how regular mac apps work. I guess this can
clash when user issues Find.. in the visual diff.

Anyway, Alt-P/Alt-N are not macosx friendly shortcuts, it's not obvious that
these  can be used (eg. tooltip doesn't reveal anything) and they cannot be
redefined. (at least I could not find it in the keyboardShortcuts dialog)
Comment 3 Martin Entlicher 2005-05-26 13:11:54 UTC
On Linux ALT-P and ALT-N is displayed in the tooltip.
It's true that this should be configurable.

Does Command-G and Shift-Command-G e.g. in Editor work on Mac also like F3 and
Shift-F3 on other systems? We would have to have different shortcuts, depending
on the OS.
Comment 4 _ pkuzel 2005-11-03 17:03:47 UTC
CVS Diff reuses Navigate Next/Previous (Error :-) actions concept. But there is
no API get actual shortcut and display it in tooltip. By default it binds to
F12/Shift+F12.

I'll add the binding to pure Tools diff, too.

In recent versions there is navigation popup on mouse right click and
synchonization between actually visible change and Next action, smoothing mixed
mouse scrolling (short range navigation) and Next usage (long range navigation).
Comment 5 _ pkuzel 2005-11-14 14:08:43 UTC
It's mapped to configurable main menu Navigation: 
  Next [Error]
  Previous [Error]
shortcuts.


Checking in DiffPanel.java;
/shared/data/ccvs/repository/diff/src/org/netbeans/modules/diff/builtin/visualizer/DiffPanel.java,v
 <--  DiffPanel.java
new revision: 1.27; previous revision: 1.26
done
Checking in Bundle.properties;
/shared/data/ccvs/repository/diff/src/org/netbeans/modules/diff/builtin/visualizer/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.10; previous revision: 1.9
done

Comment 6 _ pkuzel 2005-11-14 14:54:05 UTC
see above