Differences
This shows you the differences between the selected revisions of the page.
2006-03-06 | 2006-03-07 | ||
no summary (68.52.99.160) (hidden) | old revision restored (martin) (hidden) | ||
Line 26: | Line 26: | ||
For basic editing WinSCP offers simple [[ui_editor|integrated text editor]]. For advanced editing you will probably want to [[ui_pref_editor|configure your favourite editor]]. | For basic editing WinSCP offers simple [[ui_editor|integrated text editor]]. For advanced editing you will probably want to [[ui_pref_editor|configure your favourite editor]]. | ||
+ | ==== Problems with Some External Editors ==== | ||
+ | Some external editors can open multiple files in one process. Usually such editors have some kind of tabbed interface, but it is also case of new versions of Microsoft Word (2000 and XP). | ||
+ | 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 select //Multiple files// mode and enable preference option //[[ui_editor_preferences#external|External editor opens multiple files in one window (process)]]//. 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. | ||
+ | |||
+ | 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 (and the editor can detect the change). | ||
+ | |||
+ | 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. | ||
+ | |||
+ | 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: | ||
+ | * UltraEdit: //Advanced > Configuration > General > General Application Items > Allow multiple instances// | ||
+ | * PSPad: //Settings > Program Settings > System Integration > Only One Program Instance// | ||
+ | * Crimson Editor: //Tools > Preferences > General > Allow Multiple Instances// | ||
+ | * TextPad: //Configure > Preferences > Allow Multiple Instances to Run// | ||
===== [[binary]] Editing Binary Files ===== | ===== [[binary]] Editing Binary Files ===== |