Difference between revisions of "File page"

From TED Notepad
Line 15: Line 15:
 
The {{field|Windows}}, {{field|Unix}} and {{field|Mac}} fields can be used to specify the default {{defined|newlines}} to be used for new files.
 
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====
+
====Default file type====
  
The {{field|Open/Save dialog filters}} defines filters,  that are to be used in the {{dialog|Open/Save}} dialogs as file filters. They appear in a combo-box, usually bellow the file name box. Such a filter consists of two {{defined|strings}} separated by a Pipe character.
+
The {{field|Default file type}} setting specifies, what file extension is to be used by the {{feature|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 {{string|txt}}, but some users may choose to override this and use another value. E.g. Use {{string|html}}, if you creat more HTML documents than simple text files.
 +
 
 +
====Default path====
 +
 
 +
{{todo}}
 +
 
 +
====Filter strings====
 +
 
 +
The {{field|Filter strings}} defines filters,  that are to be used in the {{dialog|Open/Save}} dialogs as file filters. They appear in a combo-box, usually bellow the file name box. Such a filter consists of two {{defined|strings}} separated by a Pipe character.
  
 
The first {{defined|string}} in a filter is a name to be displayed that describes the filter (e.g. {{string|Text Files}}). The second one specifies the filtering pattern (e.g. {{string|*.txt}}). Therefore a filter for text files would look like this: {{string|Text Files|*.txt}} or maybe even like this: {{string|Text Files (*.txt)|*.txt}}.
 
The first {{defined|string}} in a filter is a name to be displayed that describes the filter (e.g. {{string|Text Files}}). The second one specifies the filtering pattern (e.g. {{string|*.txt}}). Therefore a filter for text files would look like this: {{string|Text Files|*.txt}} or maybe even like this: {{string|Text Files (*.txt)|*.txt}}.
Line 23: Line 33:
 
To specify multiple filtering patterns for a single filter, use a semicolon to separate the patterns (e.g. {{string|*.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.
 
To specify multiple filtering patterns for a single filter, use a semicolon to separate the patterns (e.g. {{string|*.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 {{dialog|Open/Save Dialog Filters}} value should eventually consist of pairs of {{defined|strings}} delimited by Pipes. Each pair defines one filter: a name and its filtering pattern.
+
Several filters are to be delimited also by a Pipe character. Therefore this {{dialog|Filter strings}} value should eventually consist of pairs of {{defined|strings}} delimited by Pipes. Each pair defines one filter: a name and its filtering pattern.
 +
 
 +
====Suggest first line as new file name====
 +
 
 +
{{todo}}
 +
 
 +
====Create backup files====
 +
 
 +
{{todo}}
 +
 
 +
====Save recovery every 5 mins====
 +
 
 +
{{todo}}
 +
 
 +
====Force Read-only files====
 +
 
 +
{{todo}}
 +
 
 +
====Save without BOM====
  
====Default file extension====
+
{{todo}}
  
The {{field|Use default file extension, if missing}} setting specifies whether the {{feature|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.
+
====Only one instance of each file====
  
Default extension for plain-text documents is usually {{string|txt}}, but some users may choose to override this and use another value. E.g. Use {{string|html}}, if you creat more HTML documents than simple text files.
+
{{todo}}
 +
 
 +
====Check if file is modified outside====
 +
 
 +
{{todo}}
 +
 
 +
====Keep file name on error====
 +
 
 +
{{todo}}
 +
 
 +
====Force the default encoding====
 +
 
 +
{{todo}}

Revision as of 15:15, 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.

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

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

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

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

Create backup files

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

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.