AnantLabs / sharpfile

Automatically exported from code.google.com/p/sharpfile
2 stars 1 forks source link

Improve handling of imperfect manual paths #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. type in c:/ into browser path
2. press enter

What is the expected output? What do you see instead?
It should clean up the file path correctly

Also, there is duplicated code checking that directories have a backwards
slash at the end. It would be nice if there was one method that cleaned it
all up. Check System.IO before re-inventing the wheel.

Original issue reported on code.google.com by longueur...@gmail.com on 12 Aug 2008 at 2:36

GoogleCodeExporter commented 9 years ago
This was done in r557-r562. The code has been tightened up considerably. There 
is
also a nice visual indication that the path couldn't be found (the path textbox
flashes red briefly) instead of showing a modal dialog.

Original comment by longueur...@gmail.com on 19 Aug 2008 at 1:31