Settings dialog

From TED Notepad
Revision as of 14:13, 14 May 2006 by Jsimlo (talk | contribs)
You see work in progress here; this section already reflects future TED Notepad version 4.5.2.
This section may contain incomplete, premature, or mistaken information, prone to change without notice.

General page

Tab Size

The Tab Size value specifies the size of each tab stop. These tab stops determine, how much each Tab character will shift the following text.

Left Margin

The Left Margin value specifies the size of the left selection margin. This selection margin is a space between the text of the document and a border of the main window. Here a user can drag the mouse cursor to quickly select entire lines.

Text Limit

The Text Limit value specifies the maximum allowed length of text of a document. If this value is to be breached, text may be truncated and a warning will be given. Use this limit in order to create a top limit for your documents. If no such limit is required, leave zero in this field.

Versions note: Prior to version 4.5.2, this value could be altered any time in order to be able to edit a document of whatever size, but a specific positive value must have always been chosen. Version 4.5.2 allows to leave this field with zero value for no actual limit.

Persistent selection in Tools

The Persistent selection in Tools setting specifies whether the selection should outlast all used tools. If checked, the selection will be updated to re-cover the results of any used tool. Otherwise, the selection will be discarded and the caret will be placed at the end of such results (exactly as if the results of that tool were pasted to the document using a clipboard).

Note: For some tools (e.g. Indent selection with Tabs or Quote Mail) the selection always persits, because these tools are ment to be used several times in sequence on the same selection.

Tip: Such a setting may become useful especially, when you need to perform several tools in sequence on the same text. Imagine that you need to use Unique Lines tool and then additional Sort on the uniqued lines. When this setting is enabled, the selection will automatically cover the results of the first tool, thus you may use the second tool without need to re-select the text.

Auto-indent text

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

Use spaces instead of Tabs

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

Include underscores within words

The Include underscores within words setting specifies whether an Underscore character should be included within the definition of the word letters. This definition is used when working with words, like Select Word or Complete Word features do.

Note: Other characters, those that are not included within the word letters are furthermore divided into two groups: white-spaces and word delimiters. All word-oriented features of TED Notepad (e.g. Select Word) usually treat all white-spaces as one delimiting character. In other words, Select Word selects either a word or all consecutive white-spaces or a single word delimiter otherwise.

Line numbers unwrapped

The Line numbers from unwrapped lines setting specifies whether the lines of a document are to be counted according to the actual word wrapping or not. Turn this setting on to count the lines unwrapped, even while they are being word wrapped.

The number of the actual line is displayed in the Status Bar and may be used, for example, in the [[Control:Button:Go to Line:{{{2}}}|{{{2}}}]] feature.

This section is incomplete and wants to be finished later.
TODO: slow!!!

Complete Word dialog sorted

The Complete Word dialog sorted setting specifies whether the Complete Word dialog items are to be sorted alphabetically, or shown according to their preceding order in the document. See chapter Edit menu for more details about the Complete Word feature.

Enable exit by Esc key

The Enable exit by Esc key setting enables or disables the Esc and Shift+Esc hotkeys.

Show recently opened files

The Show recently opened files specifies whether the Recent Files menu is to be active. The Recently opened files are always maintained, but they are saved upon Exit only when this setting is turned on.

Note: To save Recent Files succesfully, no /ns command line parameter, nor the Exit without saving! may take their place. See chapters Command line parameters and File menu.

Empty recent files menu

The [[Control:Button:Empty recent files menu:{{{2}}}|{{{2}}}]] button empties the list of the Recently opened files.

Fixed-width Font, Proportional Font

The Fixed-width Font specifies whether the default system fixed-width font is to be used as a fixed-width font or a custom user's font. Use the Primary font button to choose this custom user's font.

The Proportional Font specifies whether a default system font is to be used as a proportional font or a custom user's font. Use the Secondary font button to choose this custom user's font.

Use multi-level Undo/Redo

The Use multi-level Undo/Redo turns on/off the multi-level Undo/Redo feature. See chapter RichEdit clone.

Clear Undo buffer upon Save

The Clear Undo buffer upon Save specifies whether to forget all multi-level actions upon the Save operation. The last action remains remembered anyway. This option has no effect when Use multi-level Undo/Redo option is turned off. See chapter RichEdit clone.

Automatic detection of URLs

The Automatic detection of URLs specifies whether URLs are to be detected and highlighted in the document. Note: It may be necessary to reload somehow the text of the document after applying of the settings/options to get the autodetection fully working. This is because only loaded or somehow modified text is searched for URLs and each apply of the settings/options may discard all previously found links. See chapter RichEdit clone.

Use doubleclick to launch URLs

The Use doubleclick to launch URLs specifies whether a doubleclick or a single click on an auto-detected URL is required to launch it in a default internet browser. See chapter RichEdit clone.

File page

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 Allow UNIX/Mac newlines support specifies whether the transparent UNIX/Mac newlines support is to be available.

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

This section is incomplete and wants to be finished later.
TODO: Describe more.

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 {{feature|Sa