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 234077 - Create selectCodeElementAction hook
Summary: Create selectCodeElementAction hook
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2013-08-07 12:12 UTC by Ondrej Brejla
Modified: 2013-08-09 10:49 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 Ondrej Brejla 2013-08-07 12:12:01 UTC
I can't remove KeystrokeHandler although I implemented all typing hooks. Why? Because there is no equivalent for method KeystrokeHandler.findLogicalRanges which is called when one invokes "Select next element" (alt+shift+period) action.
Comment 1 Milutin Kristofic 2013-08-07 13:46:18 UTC
You are right Ondra, I will create SelectCodeElementAction Hook in next release.
Comment 2 Ondrej Brejla 2013-08-07 13:57:05 UTC
Probably you should remove @deprecated annotation from keystroke handler for 7.4, because it's not true. Deprecated are just some methods from that iface (all but findLogicalRanges).
Comment 3 Milutin Kristofic 2013-08-07 14:05:37 UTC
http://hg.netbeans.org/jet-main/rev/78e01eb43076
Comment 4 Quality Engineering 2013-08-09 10:49:18 UTC
Integrated into 'main-silver', will be available in build *201308090746* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/78e01eb43076
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #234077 - Create selectCodeElementAction hook