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.
In the javascript2 editor is not implemented customized action for removing words (CTRL + Backspace) so whole "phrases" (like variable name, method names) are deleted at once. Also there are commented out tests which worked in the previous javascript editor and but this functionality is not supported now: org.netbeans.modules.javascript2.editor.JsDeletedTextInterceptorTest There is no clear way how to fix this issue until #217163 will be resolved - there will exist interceptor for that or way how to override CslEditorKit actions.
I implemented the nextWord/prevWord offset using old way since it looks like the issue #217163 will not be resolved in NB7.3. I also entered new task for rewriting that to the new API in the next release: issue #222506. I'm marking as resolved, since the remove prev word action works well now and I was able to uncomment rest of deleteInterceptor unit tests which were failing before. BTW, I removed handling of RUBY codes and tried to make the method a little bit more readable. Fixed in web-main #0fc25bfe7604.
Integrated into 'main-golden', will be available in build *201211220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0fc25bfe7604 User: Martin Fousek <marfous@netbeans.org> Log: #217525 - Remove previous word action is not implemented properly