Differences

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

ui_pref_editor 2005-05-05 ui_pref_editor 2023-05-24 (current)
Line 1: Line 1:
-====== Editor Tab ====== +====== The Editors Page (Preferences Dialog) ====== 
-The //Editor tab// allows you to configure options for both [[task_edit|internal and external editors]]. Some of the options also affect [[task_edit|opening remote files]] in an associated local application.+The //Editor page// on the [[ui_preferences|Preferences dialog]] allows you to configure options for [[task_edit|external editors]] and editor preference order.
&screenshotpict(pref_editor) &screenshotpict(pref_editor)
-===== Default Editor ===== +&toc_title_page_sections
-Select if you want the [[ui_editor|internal]] or [[task_edit#external_editors|external]] editor be your primary editor. Primary editor is used by commands //File(s) > Edit// and //File(s) > Edit new file//. You can always open the latter one using //File(s) > Edit (alternative)//.+
-When you want to use external editor, you need to specify path to its executable (to replace default ''notepad.exe''). Use //Browse// button to locate the executable. When typing path manually do not forget to add quotes around path containing spaces. If you need you may specify a command-line parameters for your editor. Use pattern ''!.!'' to specify where should WinSCP place name of the file to edit (quotes around filename containing spaces are added automatically). +===== [[preference]] Editor Preference ===== 
 +The list in the upper part of the group shows configured editors.
-===== Allow Multiple Opened Files (Editors) ===== +Column //Editor// shows "Internal editor", "Associated application" or name of the external editor. Column //Mask// shows editor autoselection [[file_mask|mask]]. Column //Text// indicated if the text transfer mode is forced for the external editor.
-Switches between [[task_edit#editing_modes|two modes WinSCP]] can use to manage the edited/opened remote files. The option affects opening remote files in an associated local application too.+
-===== Internal Editor Options ===== +Use button //Add// to add new editor. //[[ui_editor_preferences|Editor preferences dialog]]// will appear. The newly added editor will be inserted before a editor selected in the list or at the end, if no editor is selected.
-Use //Select Font// button to select font for an [[ui_editor|internal editor]]. the preview on the righ will show you what the font looks like.+
-The //Wrap long lines// checkbox makes long lines be wrapped in an [[ui_editor|internal editor]]. When unchecked, the horizontal scrollbars appear instead to allow you to see long lines.+Use button //Edit// to edit selected editor. //[[ui_editor_preferences|Editor preferences dialog]]// will appear.·
-===== Extenal Editor Options ===== +Use button //Remove// to remove selected editor. If you remove editor by mistake, you can always cancel whole Preferences dialog to undo all changes.
-The //Force text transfer mode for files edited in external editor// checkbox by default forces [[transfer_mode|text transfer mode]] for transfers to/from external editor. When unchecked the configured transfer mode will be used. Learn more about [[task_edit#editing_binary_files|editing binary files in an external editor]].+
-The //External editor opens multiple files in one window (process)// checkbox enables special behaviour needed to support editors that [[task_edit#problems_with_some_external_editors|open multiple files in one window]].+Use buttons //Up// and //Down// to change order of the editors. The order is important when [[ui_editor_preferences#autoselection|autoselecting editor]].
 +===== Editing options =====
 +
 +Use //==Check== that edited remote file has not changed before saving it// to make WinSCP check timestamp of a remote file before uploading saved changes. If timestamp change is detected, you will be given option to cancel the upload. With the option enabled, the uploads can happen only when WinSCP is idle.((No dialog boxes can be opened. If they are, the upload is postponed until WinSCP is idle again.))
 +
 +===== [[auto]] Automatic Configuration of External Editor =====
 +
 +On the first edit, WinSCP detects what is your preferred text editor ((Ignoring Windows Notepad.)) and offers you to make it default external editor for WinSCP.
 +
 +===== Further Reading =====
 +Read more about [[ui_preferences|Preferences dialog]] and its other [[ui_preferences#pages|pages]].

Last modified: by martin