Opened 10 years ago
Expand segmentation / tokenization in pathname textboxes
|Reported by:||flamingspinach||Owned by:|
|Keywords:||tokenization, segmentation, pathname, path, location||Cc:|
|Component version:||Operating system type:||Windows|
|Operating system version:||6 (Vista SP2)|
Currently, text segmentation in pathname textboxes seems to be just standard, similar to what I would find in, say, Microsoft Notepad.
To elaborate upon what I mean: Take the path "/home/username/wwwroot/website.org/~username/pub-files/dir_name/whatever". Double clicking within this textbox currently selects the maximal recognized token surrounding the current position of the cursor (at least it does so on Windows).
This is indeed the expected behavior, but unfortunately the recognized tokens in the above pathname are "/home/username/wwwroot/website.org/~username/pub" and "files/dir_name/whatever". Of course, the recognized tokens should be "home", "username", "wwwroot", "website.org", "~username", and "pub". Further tokenizing "website.org" as "website" and "org" would be acceptable as well.
Hopefully this is not too involved of a request. Mozilla Firefox, for example, does this with its address bar, but of course the underlying UI engine is totally different in that case...