|
From: John G. <jge...@ms...> - 2002-03-18 16:50:41
|
>Beginning with version 5 of Internet Explorer, this can be done with >Windows >Registry entries instead of copying files. You would need only a stable >location for jedit.exe (that is, one you don't change every time you >install >a new version of jEdit). I'll post a registry script file to jEdit >Community tonight or tomorrow. > Here is an update on this effort. Whether a cache directory is hacked or you introduce registry entires to point at an alternative text editor, the designated editor or "View Source" target for Internet Explorer 5 and later requires an executable that reads an unquoted path name containing spaces as a single parameter. Qutoing the full path doesn't work here becuase the routine in IE strips the quotes. Notepad.exe works because it can only take a single parameter (it only opens a single file at a time) and interpretes the file name on a command line as a single parameter. Microsoft's Word and PowerPoint applications use undocumented settings to achieve the same result. Both the jEdit Java application and the jEdit launcher module jedit.exe permit multiple file names on the command line. When IE read a file path containing spaces, it sends along (after stripping quotes) and jEdit reads the strings as multiple files. So, we'll just have to level the playing field, won't we? The key is either (1) a revision to jedit.exe that recognizes a "/1" parameter and takes what follows as a single path name, spaces and all, or (2) a utility application that opens a single file. I would favor the "/1" approach to conserve space, since it won't conflict with existing jEdit options. If anyone else has a view, le me know. Either approach will require a new release, but the work involved is trivial, and the result seems worthwhile. John _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |