WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 42246
JavaScript Console word-wise navigation doesn't use '.' as word separators
https://bugs.webkit.org/show_bug.cgi?id=42246
Summary
JavaScript Console word-wise navigation doesn't use '.' as word separators
Martin Häcker
Reported
2010-07-14 03:07:08 PDT
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
Comment 1
2010-07-14 12:29:04 PDT
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
Comment 2
2014-12-11 17:13:06 PST
Current CodeMirror implementation does the right thing, yay.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug