Difference between revisions of "File page"

From TED Notepad
Line 9: Line 9:
 
====Default newlines====
 
====Default newlines====
  
The {{field|Allow UNIX/Mac newlines support}} specifies whether the transparent UNIX/Mac {{defined|newlines}} support is to be available.
+
The {{field|UNIX/Mac support}} specifies whether the transparent UNIX/Mac {{defined|newlines}} conversion support is to be available.
  
 
See chapter [[Managing documents]] for more details about transparent {{defined|newlines}} support.
 
See chapter [[Managing documents]] for more details about transparent {{defined|newlines}} support.
 +
 +
The {{field|Windows}}, {{field|Unix}} and {{field|Mac}} fields can be used to specify the default {{defined|newlines}} to be used for new files.
  
 
====Open/Save dialog filters====
 
====Open/Save dialog filters====

Revision as of 15:07, 15 April 2007

You see work in progress here; this section already reflects future TED Notepad version 5.2.0.2.
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.

Open/Save dialog filters

The Open/Save dialog filters 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 Open/Save Dialog Filters value should eventually consist of pairs of strings delimited by Pipes. Each pair defines one filter: a name and its filtering pattern.

Default file extension

The Use default file extension, if missing setting specifies whether the Save As dialog should always append a default extension to a file name when no extension is specified by user. 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.