SVN File Editors

Each type of file is associated with an editor which opens files of that type for editing. The editor can be the built-in one specially provided for the file type (for example the internal XML editor, the internal XSLT editor, the internal XSL-FO editor, etc) or an external application installed on the computer, either the default system application associated with that file type in the operating system or other particular application specified by the path to its executable file. The list of all the associations file type - editor is displayed in the panel SVN File Editors.

The SVN File Editors preferences panel is opened from menu OptionsPreferences+SVN File Editors

 

Figure 24.82. The SVN File Editors preferences panel

The SVN File Editors preferences panel

The Edit button under the table or a double click on a table row opens a dialog for specifying the editor associated with the file type.

The same dialog is displayed and after an Open with action on a selected file from Syncro SVN Client.

 

Figure 24.83. The Open With dialog for file type - editor associations

The Open With dialog for file type - editor associations

In this dialog are offered three options for opening a file:

[Note]Note

For opening a directory, you can choose one of the first two options. The System default application will be used to open that directory in the system built-in file browser (i.e. Windows Explorer for Windows, Finder for Max OS X etc.), and the second one for opening that directory using a file browser other than the system default.

If a file type is associated with an internal editor other than the XML Editor then the encoding set in the preference Encoding for non XML files is used for opening and saving a file of that type. This is necessary because in case of XML files the encoding is usually declared at the beginning of the XML file in a special declaration or it assumes the default value UTF-8 but in case of non XML files there is no standard mechanism for declaring the encoding of the file.