Abbreviation of full paths in document selector and tabs
Posted: Sun Apr 08, 2007 12:51 pm
I use textpad a lot for website design. Normally the files I have to edit are located in long paths like: [C:\websites\HostRack Nr5\www.mynewsite.com\HTML\index.html]. Usually there are many files located in, more or less, the same directory.
When the document selector or the tabs are not wide enough these paths get abbreviated, which is what you expect, but not in a very clever way. All the tabs show the same; [C:\websites\HostRa....].
This forces me to switch off the option 'Show Full Paths', so I can see the file names again. However, this introduces a new problem; there may be several [index.html] files I am editing at the same time, which I cannot distinguish.
I can hover the mouse pointer over the tabs to see the full paths again, but this is quite slow, and doesn't tell me which file I am editing at a glance.
I would like propose a smarter way to abbreviate long paths. Why not start the abbreviation directly after [C:\]? This would leave the file names, and probably a bit more, visible most of the time. This will help me greatly finding the correct files quickly, and minimize mistakes.
It would even be better if the abbreviated paths could reflect the differences between the files that are open. For instance:
[C:\websites\HostRack Nr4\www.mynewsite.com\HTML\index.html].
[C:\websites\HostRack Nr5\www.mynewsite.com\HTML\index.html].
Would be abbreviated to:
[C:\....Nr4\w....\index.html].
[C:\....Nr5\w....\index.html].
But I do realize that this is far more complex to program than my previous suggestion.
When the document selector or the tabs are not wide enough these paths get abbreviated, which is what you expect, but not in a very clever way. All the tabs show the same; [C:\websites\HostRa....].
This forces me to switch off the option 'Show Full Paths', so I can see the file names again. However, this introduces a new problem; there may be several [index.html] files I am editing at the same time, which I cannot distinguish.
I can hover the mouse pointer over the tabs to see the full paths again, but this is quite slow, and doesn't tell me which file I am editing at a glance.
I would like propose a smarter way to abbreviate long paths. Why not start the abbreviation directly after [C:\]? This would leave the file names, and probably a bit more, visible most of the time. This will help me greatly finding the correct files quickly, and minimize mistakes.
It would even be better if the abbreviated paths could reflect the differences between the files that are open. For instance:
[C:\websites\HostRack Nr4\www.mynewsite.com\HTML\index.html].
[C:\websites\HostRack Nr5\www.mynewsite.com\HTML\index.html].
Would be abbreviated to:
[C:\....Nr4\w....\index.html].
[C:\....Nr5\w....\index.html].
But I do realize that this is far more complex to program than my previous suggestion.