Differences

This shows you the differences between the selected revisions of the page.

2008-04-08 2008-05-14
dot (martin) no summary (81.178.105.212)
Line 20: Line 20:
If such editor is already running and the WinSCP runs second instance to open new file, the second instance just notifies the first to open the new file and exits immediately. Hence WinSCP expects that the file was closed as well and tries to delete the temporary file. If such editor is already running and the WinSCP runs second instance to open new file, the second instance just notifies the first to open the new file and exits immediately. Hence WinSCP expects that the file was closed as well and tries to delete the temporary file.
-To allow WinSCP use this kind of editors, you need to enable preference option //[[ui_editor_preferences#external|External editor opens multiple files in one window (process)]]//((Note that WinSCP can heuristically detect that you need to enable the option //External editor opens multiple files in one window (process)// and offers you to do so.)). Then WinSCP will not treat the file as closed when the editor launched to open it is closed. Drawback is that all the files ever edited by current instance of WinSCP will be kept in [[temp_folder|temporary directory]] (until WinSCP is closed) and WinSCP will need to watch for changes of them all. Note that setting only affects the "edit" operation.+To allow WinSCP to use this kind of editor, you need to enable preference option //[[ui_editor_preferences#external|External editor opens multiple files in one window (process)]]//((Note that WinSCP can heuristically detect that you need to enable the option //External editor opens multiple files in one window (process)// and offers you to do so.)). Then WinSCP will not treat the file as closed when the editor launched to open it is closed. Drawback is that all the files ever edited by the current instance of WinSCP will be kept in [[temp_folder|temporary directory]] (until WinSCP is closed) and WinSCP will need to watch for changes of them all. Note that setting only affects the "edit" operation.
If you choose to edit the same file again during the same session, WinSCP will download it to the same temporary directory as before, allowing the external editor to reload the file content in case it has it still opened (if the editor can detect the change). If you choose to edit the same file again during the same session, WinSCP will download it to the same temporary directory as before, allowing the external editor to reload the file content in case it has it still opened (if the editor can detect the change).
-If you want to both keep the standard WinSCP behaviour and use your preferred editor, you may check if your editor offers you option to open separate instance for each edited file. Some editors have such option:+If you want to both keep the standard WinSCP behaviour and use your preferred editor, you should check if your editor offers you option to open separate instance for each edited file. Some editors have such option:
  * UltraEdit: //Advanced > Configuration > General > General Application Items > Allow multiple instances//   * UltraEdit: //Advanced > Configuration > General > General Application Items > Allow multiple instances//
  * PSPad: //Settings > Program Settings > System Integration > Only One Program Instance//   * PSPad: //Settings > Program Settings > System Integration > Only One Program Instance//

Last modified: by 81.178.105.212