Difference between revisions of "Settings dialog"

From TED Notepad
 
(63 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{todo|This section is currently under contruction. See manual for more refference.}}
+
<noinclude>{{manversion|6.0.0.17|dialog|Settings}}{{manversion|6.0.0.17|feature|Settings}}__NOTOC__</noinclude>
  
===General: Editor settings===
+
This chapter describes all fileds within the {{dialog|Settings}} dialog of TED Notepad.
  
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.
+
=====Table of Contents:=====
  
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.
+
*[[General page]]
 
+
*[[Edit page]]
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.
+
*[[Appearance page]]
 
+
*[[File page]]
{{version}} 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.
+
*[[Save/Load page]]
 
+
*[[Clipboard page]]
===General: Selections===
+
*[[Search page]]
 
+
*[[Tools page]]
The {{field|Persistent selection in Tools}}
+
*[[Favourites page]]
 
+
*[[Filters page]]
setting specifies whether the selection should outlast all used tools.
+
*[[Settings page]]
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. {{feature|Indent}} selection with Tabs or {{feature|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 {{feature|Unique Lines}} tool and then additional {{feature|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 {{field|Use selection for Find/Replace dialogs}} specifies whether the selection should be used  as the {{field|Find what}} phrase in the {{dialog|Find/Replace...}} dialogs. If no selection is present while invoking the {{dialog|Find/Replace...}} dialogs, the {{field|Find what}} phrase remains untouched.
 
 
 
{{tip}} This may be useful, if you usually use copy and paste method from the document to the {{dialog|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 {{dialog|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 {{feature|Next Occurrence}} feature. By this feature you may start a new search without a single dialog. Also defining a search for a text with {{defined|newlines}} inside is not a problem anymore. See chapters [[Searching for specific text]] and [[Edit menu]] for more details.
 
 
 
===General: UNIX-files===
 
 
 
{{todo|move}}
 
 
 
The {{field|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 {{feature|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 {{field|Include underscores within words}} specifies whether an Underscore character should be included within the {{defined|word letters}} definition. This definition is used when working with words, like {{feature|Select Word}} or {{feature|Complete Word}} features do.
 
 
 
Note: Other characters, those that are not included within those {{defined|word letters}} are furthermore divided into two groups: {{defined|white-spaces}} and {{defined|word delimiters}}. All word-oriented features of TED Notepad (e.g. {{feature|Select Word}}) usually treats all white-spaces as one delimiting character. In other words, {{feature|Select Word}} selects either a word or all consecutive white-spaces or a single word delimiter.
 
 
 
The {{field|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 {{feature|Status Bar}} and may be used, for example, in the {{button|Go to Line}} feature.
 
 
 
The {{field|Complete Word dialog sorted}} specifies whether the {{feature|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 {{feature|Complete Word}} feature.
 
 
 
===General: Hotkeys===
 
 
 
The {{field|Enable easy Exit (Esc key)}} enables or disables the {{hotkey|Esc}} and {{hotkey|Shift+Esc}} hotkeys.
 
 
 
===General: Recent files recollection===
 
 
 
The {{field|Remember recently opened files}} specifies whether the {{feature|Recent Files}} menu is to be active. The {{feature|Recently opened files}} are always maintained, but they are saved upon {{feature|Exit}} only when this check box is checked.
 
 
 
Note: To save {{feature|Recent Files}} succesfully, no {{feature|/ns}} command line parameter, nor the {{feature|Exit without saving!}} may take their place. See chapters [[Command line parameters]] and [[File menu]].
 
 
 
The {{button|Empty recent files menu}} button empties the list of the {{feature|Recently opened files}}.
 
 
 
 
 
 
The {{field|Fixed-width Font}} specifies whether a default system fixed-width font is to be used as {{field|fixed-width}} font or a custom user's font. Use the {{field|Primary font}} button to choose this custom user's font.
 
 
 
===General: Fonts===
 
 
 
The {{field|Proportional Font}} specifies whether a default system font is to be used as a {{field|proportional}} font or a custom user's font. Use the {{field|Secondary font}} button to choose this custom user's font.
 
 
 
===General: RE clone specific===
 
 
 
The {{field|Use multi-level Undo/Redo}} turns on/off the multi-level {{feature|Undo/Redo}} feature. See chapter [[RichEdit clone]].
 
 
 
The {{field|Clear Undo buffer upon Save}} specifies whether to forget all multi-level actions upon the {{feature|Save}} operation. The last action remains remembered anyway. This option has no effect when {{field|Use multi-level Undo/Redo}} option is turned off. See chapter [[RichEdit clone]]
 
 
 
The {{field|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 {{field|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 {{field|Always add missing extension}} 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 {{field|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 {{string|*.txt}}, but a user may choose to override this and use another value, for example, {{string|html}}, if he creates more HTML documents than simple texts.
 
 
 
The {{field|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 {{field|Open/Save Dialog Filters}} defines filters,  that are to be used in the {{dialog|Open/Save}} dialogs as file filters. 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}}.
 
 
 
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.
 
 
 
===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 {{feature|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 {{feature|favourites}}) and then start a new one to have those saved settings re-loaded into a new window.
 
 
 
The {{field|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 {{button|Save checked settings}} 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 {{button|Save checked settings}} button, so the settings are saved. Then ucheck this {{field|Save settings on exit}} option and click the {{button|Save checked settings}} button again. From now on no settings will then be ever saved.
 
 
 
<small>Note: There are {{feature|/ns}} and {{feature|/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.</small>
 
 
 
The {{field|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.
 
 
 
<small>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.</small>
 
 
 
{{mycomment|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 {{field|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 {{field|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 {{feature|Word Wrap}} option, the {{feature|Status Bar}} visibility option, the {{feature|Stay on Top}} and the {{feature|Fixed-width Font}} options belongs to this category.
 
 
 
The {{field|Save settings}} category specifies whether the settings from the {{dialog|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 {{dialog|Settings...}} dialog. However, note, that the {{feature|Favourites}} nor the {{feature|Filters}} are about settings!
 
 
 
The {{field|Save fonts}} category specifies whether the {{feature|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 {{field|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 {{field|Save Extended Clipboards contents}} category specifies whether content of the {{feature|Extended Clipboards}} is to be saved. See chapter [[Clipboards menu]] for more details about the {{feature|Extended Clipboards}}.
 
 
 
The {{button|Save checked settings}} 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 {{feature|/ns}} command line parameter takes place. See chapter [[Command line parameters]] for more details.
 
 
 
The {{button|Restore defaults}}
 
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.
 

Latest revision as of 12:27, 29 September 2013

This section is up to date for TED Notepad version 6.3.1.0.
Control page Control:dialog:Settings
This section is up to date for TED Notepad version 6.3.1.0.
Control page Control:feature:Settings

This chapter describes all fileds within the Settings dialog of TED Notepad.

Table of Contents: