Differences

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

2005-08-12 2005-08-12
ui_pref_editor (martin) links (martin)
Line 9: Line 9:
===== Editing Modes ===== ===== Editing Modes =====
-WinSCP has two modes to manage the edited/opened remote files. The mode can be selected in [[ui_pref_editor#allow_multiple_opened_files_editors|preferences]].+WinSCP has two modes to manage the edited/opened remote files. The mode can be selected in [[ui_pref_editor#modes|preferences]].
==== Multiple Files Mode ==== ==== Multiple Files Mode ====
Line 22: Line 22:
===== External Editors ===== ===== External Editors =====
-For basic editing WinSCP offers simple [[ui_editor|integrated text editor]]. For advanced editing you will probably want to [[ui_pref_editor#default_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 ==== ==== Problems with Some External Editors ====
Line 29: Line 29:
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 select //Multiple files// mode and enable preference option //[[ui_pref_editor#default_editor|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.+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). 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).
Line 44: Line 44:
The [[ui_editor|internal editor]] supports only Windows-format text files. Thus the [[transfer_mode|text transfer mode]] is forced when transferring remote file to/from the internal editor. The [[ui_editor|internal editor]] supports only Windows-format text files. Thus the [[transfer_mode|text transfer mode]] is forced when transferring remote file to/from the internal editor.
-If you want to edit binary files you need to use [[task_edit#external_editors|external editor]] that supports binary files and uncheck preference option //[[ui_pref_editor#default_editor|Force text transfer mode for files edited in external editor]]//. The configured [[transfer_mode|transfer mode]] will then be used even for transfers to/from external editor. Note that if you have configured [[transfer_mode|binary transfer]] mode, your external editor must support [[transfer_mode#server-side_text_file_format|server-side format of text files]] (Unix format usually), if you still want to edit them.+If you want to edit binary files you need to use [[task_edit#external_editors|external editor]] that supports binary files and uncheck preference option //[[ui_editor_preferences#external|Force text transfer mode for files edited in external editor]]//. The configured [[transfer_mode|transfer mode]] will then be used even for transfers to/from external editor. Note that if you have configured [[transfer_mode|binary transfer]] mode, your external editor must support [[transfer_mode#server-side_text_file_format|server-side format of text files]] (Unix format usually), if you still want to edit them.
===== Transfer Settings when Editing Files ===== ===== Transfer Settings when Editing Files =====

Last modified: by martin