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 217525 - Remove previous word action is not implemented properly
Summary: Remove previous word action is not implemented properly
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Fousek
Depends on:
Reported: 2012-08-28 12:49 UTC by Martin Fousek
Modified: 2012-11-22 02:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2012-08-28 12:49:10 UTC
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:

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.
Comment 1 Martin Fousek 2012-11-21 07:38:09 UTC
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.
Comment 2 Quality Engineering 2012-11-22 02:46:02 UTC
Integrated into 'main-golden', will be available in build *201211220002* on (upload may still be in progress)
User: Martin Fousek <>
Log: #217525 - Remove previous word action is not implemented properly