Differences
This shows you the differences between the selected revisions of the page.
2008-10-19 | 2008-10-24 | ||
notepad++ multiInst (martin) | details about mdi applications when opening (martin) | ||
Line 6: | Line 6: | ||
You can create new empty file using command //File(s) > New > File//. The command asks for name of the new file and then opens your default editor. | You can create new empty file using command //File(s) > New > File//. The command asks for name of the new file and then opens your default editor. | ||
- | To open file in an associated application use //File(s) > Open//. | + | To open file in an associated application use //File(s) > Open//. This way you do not need to configure external editor for each file type. However you will not be able to set an additional options. |
Editing and opening of files can be [[administration|restricted by system administrator]]. | Editing and opening of files can be [[administration|restricted by system administrator]]. | ||
Line 20: | Line 20: | ||
If such an editor is already running and WinSCP runs a 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 an editor is already running and WinSCP runs a 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 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. | + | To allow WinSCP to use this kind of editor, you need to configure it as an external editor and 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. So you may want to make sure that editing is [[ui_pref_panels#double-click|default operation for double-click]]. |
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). |