Difference between revisions of "File page"

From TED Notepad
Line 47: Line 47:
 
====Create backup files====
 
====Create backup files====
  
{{todo}}
+
The {{field|Create backup files}} option specifies, whether to create backup files by ''copying'' the previous version of the original file upon each save operation. The backup file name is created by appending a {{string|.~}} to the original file name.
  
 
====Save recovery every 5 mins====
 
====Save recovery every 5 mins====

Revision as of 12:56, 17 April 2007

You see work in progress here; this section already reflects future TED Notepad version 5.3.0.4.
This section may contain incomplete, premature, or mistaken information, prone to change without notice.

Default encoding

The Default encoding specifies a default file encoding that should be used for new documents. Supported encodings are ANSI, both Unicodes and UTF-8.

Note: See chapter Managing documents for more informations about these file encodings, their usage, advantages and also their pitfalls.

Default newlines

The UNIX/Mac support specifies whether the transparent UNIX/Mac newlines conversion support is to be available.

See chapter Managing documents for more details about transparent newlines support.

The Windows, Unix and Mac fields can be used to specify the default newlines to be used for new files.

Default file type

The Default file type setting specifies, what file extension is to be used by the Save As dialog, if no extension is specified explicitly. The default extension may not exceed 4 characters.

Default extension for plain-text documents is usually txt, but some users may choose to override this and use another value. E.g. Use html, if you creat more HTML documents than simple text files.

Default path

The Default path defines a relative or absolute path, that is to be used as the starting point in the Open/Save dialogs. When an absolute path is specified, it is used unchanged in all cases.

When no path is specified as default path, the current working directory is used, if it contains files, which satisfy the Filter strings below. Otherwise, the personal files directory of the current user is used.

When a relative path is specified (e.g. . or \docs), it always refers to the current working directory. Note: The working directory is usually a directory, where TED Notepad is started from. Then this working directory changes with every Open/Save dialogs operation.

Tip: A useful example for portable usage is a simple back-slash (\), which will make the Open/Save dialogs start in the root directory of the drive, where you launched the application. This can be used to twist your USB drive, when moving TED Notepad on the USB from one computer to another.

Filter strings

The Filter strings defines filters, that are to be used in the Open/Save dialogs as file filters. They appear in a combo-box, usually bellow the file name box. Such a filter consists of two strings separated by a Pipe character.

The first string in a filter is a name to be displayed that describes the filter (e.g. Text Files). The second one specifies the filtering pattern (e.g. *.txt). Therefore a filter for text files would look like this: Text Files or maybe even like this: Text Files (*.txt).

To specify multiple filtering patterns for a single filter, use a semicolon to separate the patterns (e.g. *.txt;*.doc;*.bak). A filtering pattern can be a combination of valid filename characters and an asterisk wildcard character. Do not include spaces in the pattern string.

Several filters are to be delimited also by a Pipe character. Therefore this Filter strings value should eventually consist of pairs of strings delimited by Pipes. Each pair defines one filter: a name and its filtering pattern.

Suggest first line as new file name

The Suggest first line as new file name option specifies, whether the text from the first line of the document is to be suggested in the Save As dialog as a new file name instead of the default Untitled. Note: When there is no text on the first line, the Untitled string is used regardless of this option.

Create backup files

The Create backup files option specifies, whether to create backup files by copying the previous version of the original file upon each save operation. The backup file name is created by appending a .~ to the original file name.

Save recovery every 5 mins

This section is incomplete and wants to be finished later.
TODO: Not specified.

Force Read-only files

This section is incomplete and wants to be finished later.
TODO: Not specified.

Save without BOM

This section is incomplete and wants to be finished later.
TODO: Not specified.

Only one instance of each file

This section is incomplete and wants to be finished later.
TODO: Not specified.

Check if file is modified outside

This section is incomplete and wants to be finished later.
TODO: Not specified.

Keep file name on error

This section is incomplete and wants to be finished later.
TODO: Not specified.

Force the default encoding

This section is incomplete and wants to be finished later.
TODO: Not specified.