Difference between revisions of "Settings dialog"

From TED Notepad
Line 3: Line 3:
 
===General: Editor settings===
 
===General: Editor settings===
  
The {{field|Tab size}} value specifies the size of each {{system|tab stop}}. These {{system|tab stops}} determine, how much each Tab character will shift the following text.
+
The {{field|Tab Size}} value specifies the size of each {{system|tab stop}}. These {{system|tab stops}} determine, how much each Tab character will shift the following text.
  
The {{field|Left margin}} value specifies the size of the left {{system|selection margin}} of a document. This {{system|selection margin}}
+
The {{field|Left Margin}} value specifies the size of the left {{system|selection margin}} of a document. This {{system|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.
  
is a space between the text of the document and a border of the main
+
The {{field|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 of your documents. If no such limit is required, put zero into this field.
window. Here a user can drag the mouse cursor to quickly select entire
 
lines.
 
  
The {{field|Text Limit}} value specifies
+
{{versions}} Prior to version '''5.0.1''', this value could be altered anytime in order to be able to edit a document of whatever size, but a specific positive value must have always been chosen. Version '''5.0.1''' allows to leave this field with zero value for no actual limit.
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 of your documents.
 
 
 
Note:
 
This value may be altered anytime in order to be able to edit a
 
document of nearly whatever size, but a specific positive value always
 
have to be chosen. That is a historical relique from the older versions
 
of Windows that still has to be fostered.
 
  
 
===General: Selections===
 
===General: Selections===

Revision as of 17:29, 2 March 2006

This section is incomplete and wants to be finished later.
TODO: This section is currently under contruction. See manual for more refference.

General: Editor settings

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.

The Left Margin value specifies the size of the left selection margin of a document. 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.

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 of your documents. If no such limit is required, put zero into this field.

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

General: Selections

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 (e.g. you need to use Unique Lines tool and then additional Sort

on the uniqued lines). When this option 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.

The Use selection for Find/Replace dialogs specifies whether the selection should be used as the Find what phrase in the Find/Replace... dialogs. If no selection is present while invoking the Find/Replace... dialogs, the Find what phrase remains untouched.

Tip: This may be useful, if you usually use copy and paste method from the document to the Find/Replace dialogs to save typing. With this option enabled, you do not need to copy and paste. Just select the text and invoke the Find/Replace dialog. The selection will be automatically pasted into the dialog for you.

Tip: If you want to quicken the technique described above a bit more, use the Next Occurrence feature. By this feature you may start a new search without a single dialog. Also defining a search for a text with newlines inside is not a problem anymore. See chapters Searching for specific text and Edit menu for more details.

General: UNIX-files

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

The Transparent UNIX-files support specifies whether all opened files are to be checked and automatically converted from UNIX}} if needed. After such a conversion, the Save in UNIX option will be checked and the file then will be automatically saved back as UNIX-type upon save.

See chapter Managing documents for more details about UNIX-type files.

General: Behavior

The Include underscores within words specifies whether an Underscore character should be included within the word letters definition. 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 those 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 treats 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.

The Disobey Word Wrapping specifies whether the lines of a document are not to be counted according to the actual word wrapping. The actual line number is displayed in the Status Bar and may be used, for example, in the [[Control:Button:Go to Line:{{{2}}}|{{{2}}}]] feature.

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

General: Hotkeys

The Enable easy Exit (Esc key) enables or disables the Esc and Shift+Esc hotkeys.

General: Recent files recollection

The Remember 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 check box is checked.

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.

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


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

General: Fonts

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.

General: RE clone specific

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

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

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

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

Files

The Always add missing extension 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 value specifies the default extension to be appended to a file name, if it is necessary.

Default extension for plain-text documents is usually *.txt, but a user may choose to override this and use another value, for example, html, if he creates more HTML documents than simple texts.

The Default file format specifies a default file format that should be used for new documents.

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

The Open/Save Dialog Filters defines filters, that are to be used in the Open/Save dialogs as file filters. 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.

Favourites

See chapter Favourites for any details.

Filters

See chapter Text Filters for any details.

Saving the settings and options

This page offers to specify, which categories of options and/or settings are to be saved upon every exit, so they outlast to the next time, TED Notepad is started.

If none of these categories is ever saved, TED Notepad will always be running with the default values. See below for details on how to do that.

If these categories are saved once (e.g. after precisely configuring TED Notepad to yours specific needs), and then they are not saved any more, TED Notepad will always start with such desired configuration. See below for details on how to achieve that.

Furthermore, if these categories are saved upon every exit, TED Notepad always starts as if it never exited at all. This is also the default behavior.

Just note, that these settings are not shared between two running instances of TED Notepad. Therefore, if you change word wrapping in one window, the other one will remain unchanged. That is fine, however, if you add a new favourite

in one window, it will not be present in the second one. You will have to save the settings of the first window (e.g. by closing it, which will save all the favourites) and then start a new one to have those saved settings re-loaded into a new window.

The Save settings on exit option specifies whether any options/settings should be saved at all. Saved options/settings are automatically loaded when TED Notepad is runned next time. If this option is not checked, the settings are not saved upon any exit, therefore, they remain the same as they were before.

If you want the settings never to be saved and never to be loaded, uncheck this option the very first time you run TED Notepad and click the [[Control:Button:Save checked settings:{{{2}}}|{{{2}}}]] button. From now on no settings will then be saved anymore as well as they have never been before - nothing to load the next time TED Notepad is started.

If you want to settings pre-configure the settings once and then have them all the same every time you start TED Notepad, make the configuration and click the [[Control:Button:Save checked settings:{{{2}}}|{{{2}}}]] button, so the settings are saved. Then ucheck this Save settings on exit option and click the [[Control:Button:Save checked settings:{{{2}}}|{{{2}}}]] button again. From now on no settings will then be ever saved.

Note: There are /ns and /nl command line parameters that may be of interest to you, if you want to manage the settings your way. See chapter Command line parameters for more details about skipping any loading and/or saving procedures.

The Save window position specifies whether the main window's position is to be saved. If saved, the next time TED Notepad is started, it will appear on the same position as before. Turning this option on is not recommended much. See notes below for details.

Troubleshooting note: If you are using two displays/monitors, you may simply choose to place TED Notepad's window on the second display. However, when you disconnect one of those displays later and then run TED Notepad, its window will be opened on the missing display and will become quite invisible. It may be quite tricky to move it into viewable area. Therefore, be careful about this setting. A lot of users accidentally get lost their window this way.

Ludia su proste len ludia! A zensky test funguje stopercentne.. Kazdopadne, s touto featurov vzdy boli (a vzdy budu) nejake nepekne problemy: uzivatelom miznu okna priamo pod rukami.... Kam? ;)

The Save window size

specifies whether the main window's size is to be saved. If saved, the next time TED Notepad is started, its size will be the same as before. Otherwise, it depends on the system, how big the window will be.

The Save options category specifies whether basic options from the Options menu are to be saved. These are the switches that are usually touched a lot according to specific types of documents and/or the type of usage.

Especially, the Word Wrap option, the Status Bar visibility option, the Stay on Top and the Fixed-width Font options belongs to this category.

The Save settings category specifies whether the settings from the Settings... dialog are to be saved. These are the most common settings that are usually not modified a lot.

Note: This category actually archs over saving of nearly all the settings in the Settings... dialog. However, note, that the Favourites nor the Filters are about settings!

The Save fonts category specifies whether the custom fonts are to be saved. Those fonts are usually ment to by the same all the time even if both settings and options are fluctuating. Therefore a special category is present to avoid of saving what does not need to be saved all over again and again.

The Save strings from dialogs category specifies whether phrases and options from the dialogs of tools are to be saved. Saving of this category is the biggest work to do, as this category is the biggest one.

The Save Extended Clipboards contents category specifies whether content of the Extended Clipboards is to be saved. See chapter Clipboards menu for more details about the Extended Clipboards.

The [[Control:Button:Save checked settings:{{{2}}}|{{{2}}}]] button saves all current settings according to the check boxes above exactly as they would be saved upon exit.

Note: This button is disabled, if /ns command line parameter takes place. See chapter Command line parameters for more details.

The [[Control:Button:Restore defaults:{{{2}}}|{{{2}}}]] button restores all options/settings to their default values as if no options/settings were ever loaded and/or modified. Note, that if you restore all options/settings, but choose not to save them, they will not remain restored next time TED Notepad is launched.

Note, that there are two options that may not be restored this way: window position and window size.