If you try to use "File>Open Selected" for a selection
containing spaces, NEdit attempts to find a file using
a path built from all the non-space substrings of the
selection. This assumes that you never have spaces in a
valid path. The assumption is wrong, especially when
running NEdit under Windows/Cygwin or on a non-Windows
(*nix) server which is used as a Windows file server.
Attached is a patch that changes this behaviour by:
- stripping leading/trailing spaces
- stripping seleced newlines
I believe this patch provides better support in these
cases, without compromising the current codebase.
Log in to post a comment.