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 125741 - Common shortcut for jumping between mark occurrences elements
Summary: Common shortcut for jumping between mark occurrences elements
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords: API
: 231181 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-22 13:33 UTC by Vladimir Voskresensky
Modified: 2016-07-07 07:27 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2008-01-22 13:33:50 UTC
It would we very useful to have shortcut for jumping between mark occurrences elements. 
Because Ctrl-F3 is jumping between "grepped" elements only.
For instance we can use Alt+Up, Alt+Down when on one of marked elements.
Comment 1 Jiri Prox 2008-01-24 11:13:54 UTC
There already is request for such enhancement. Feel free to vote

*** This issue has been marked as a duplicate of 101154 ***
Comment 2 Vladimir Voskresensky 2008-01-24 11:20:10 UTC
in fact I meant exactly editor component, not java one.
As I know all common editor actions (like instant-rename) should be provided from this infrastructure to have one common
lang-independent name and shortcut configurable in Keymap options.
We have already implemented it for C/C++

(may be reopen?)
Comment 3 Vladimir Voskresensky 2008-04-10 20:36:37 UTC
we need common infrastructure for navigating between mark occurrences for all languages
Comment 4 Vladimir Voskresensky 2010-09-29 06:32:50 UTC
Hi David,

We have a bug "Navigate to Next/Previous Occurrece" is duplicated in keymap and this issue can solve it
Comment 5 Svata Dedic 2013-06-13 07:33:00 UTC
*** Bug 231181 has been marked as a duplicate of this bug. ***
Comment 6 Svata Dedic 2015-05-19 07:20:29 UTC
Do you feel that some code support / utilities or common code base for mark occurrences feature is necessary, or just unification of the shortcuts should be sufficient ?

If no code support (boilerplate code) is required, then please close this defect, and come over to issue #194356.
Comment 7 Vladimir Voskresensky 2015-05-19 14:28:21 UTC
Hello Svata,

Tomas planned to look at duplicated shortcuts.
As to other common support:
- I think moving Next/Prev between occurrences is copy pasted over all languages from original C++

Don't know their current state. May be providers can be simplified to smth like:
doc.putProperty(MARK_OCCURRENCES_MARKER, backet)
and Prev/Next can be moved into common editor infra and using backet from document do the navigation
Comment 8 Martin Balin 2016-07-07 07:27:12 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss