Bug 42246
Summary: | JavaScript Console word-wise navigation doesn't use '.' as word separators | ||
---|---|---|---|
Product: | WebKit | Reporter: | Martin Häcker <spamfaenger> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, burg |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Martin Häcker
The problem is that when pressing the alt modifier to have wordwise carret navigation commands '.' are not considered as word separators.
This means that you can't jump from dot to dot in a string like Agilo2.fooController.barAttribute.someMethod() by pressing alt-left or alt-right-arrow and you also can't remove one path component at the time by pressing alt-delete.
This is quite annoying (as it works differently than all the editors I tried / use (eclipse, textmate, idea, xcode).
So please change it. :-)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This is proper text breaking behavior in general, but it would definitely be better if Inspector customized it to break words on '.', and maybe some other customizations are also appropriate.
Brian Burg
Current CodeMirror implementation does the right thing, yay.