Comment #5 on issue 183 by [EMAIL PROTECTED]: marking and overwriting URLs in the address bar http://code.google.com/p/chromium/issues/detail?id=183
That explains why the dot gets selected, but I'm still confused as to why editing doesn't then replace all the selected text. Maybe the edit is looking at the character classes and ignoring trailing punctuation. If we treat punctuation as words, we're back to the original native behavior, which requires users to hit ctrl-left twice to skip back one domain component, rather than once. I don't think that's what we want. We could change to a word-breaking algorithm that places punctuation at the starts of words instead of the end, which would match WordPad a bit more closely and probably avoid this problem, but then we'd be doing something less good for people editing freeform text rather than URLs :/ We could make the word-breaking algorithm behave differently based on whether it was inside the double-click stack or not (via a member flag), which would perhaps let us do the "treat punctuation as separate words" fix only for double-clicking, which would match Firefox a bit more closely, at the risk of breaking something else due to our subtle hackery. We could make the word-breaking algorithm not mark characters inside URLs as "punctuation", which might fix the "selection doesn't match what gets replaced" problem, if we decide that what's currently selected is what we want. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-bugs" group. To post to this group, send email to chromium-bugs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/chromium-bugs?hl=en -~----------~----~----~----~------~----~------~--~---