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

Summary: Create selectCodeElementAction hook
Product: editor Reporter: Ondrej Brejla <obrejla>
Component: CSL (API & infrastructure)Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: marfous, mfukala
Priority: P1 Keywords: PLAN
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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