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 110817 - Concept of a "word" (for Ctrl+Left/Right etc.)
Summary: Concept of a "word" (for Ctrl+Left/Right etc.)
Status: RESOLVED DUPLICATE of bug 101172
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-24 18:37 UTC by matthies
Modified: 2007-07-25 09:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2007-07-24 18:37:33 UTC
For Ctrl+Left/Right (Previous/Next Word) and related shorcuts, a "word" apparently isn't a complete identifier anymore, 
but a camelcase "part" of an identifier. For example, on an identifier "FooBarBaz", Ctrl+Left/Right successively moves 
over "Foo", "Bar" and "Baz", not over "FooBarBaz" as a whole. (Within comments and string literals, on the other hand, 
it behaves as expected.)

I very commonly use Ctrl+Shift+Left/Right/Backspace/Del to select/delete an identifier, for example to replace it after 
copy&pasting some code block. It is quite annoying and not ergonomic to have to repeat it multiple times. It's also non-
standard behavior for code editors for "word" to not mean "identifier", I believe. At least it should be configurable.
Comment 1 Jiri Prox 2007-07-25 09:36:47 UTC
See the issue 101172, there is written how to switch off camel case word navigation

*** This issue has been marked as a duplicate of 101172 ***