Difference between revisions of "Settings page"

From TED Notepad
m
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page offers a place to specify, which categories of options and settings are to be saved upon every exit, so they outlast to the next time, TED Notepad is started.
+
<noinclude>{{manversion|6.3.0.8|dialog|Settings:Settings}}__NOTOC__</noinclude>
  
If none of these categories is ever saved, TED Notepad will always be running with the default or preset values. If these categories are saved only once, directly after configuring TED Notepad to your specific needs, TED Notepad will always start with such desired configuration. See below.
+
Note: To store the settings and options portably, see chapter [[Cascading Portable INI files]].
  
Furthermore, if these categories are saved upon every exit, TED Notepad always starts the same way it was closed for the last time. This is the default behavior.
+
===={{field|Settings:Settings|Upon exit}}====
  
Note, that these settings are not shared between two running instances of TED Notepad. Therefore, if you change the {{feature|word wrapping}} in one window, the other one will remain unchanged. That is usually desired. However, if you add a new {{feature|favourite}} in one window, it will not be present immediately in the second window. You will have to save the settings of the first window (e.g. by closing it, which will save all the {{feature|favourites}}). Then you will have to re-open the second window, to reload the settings.
+
The {{field|Settings:Settings|Upon exit}} panel specifies, which categories of options and settings are to be saved into {{feature|Config}} upon exit. Only saved options and settings are remembered between sessions.
  
Note: To store the settings more portably, see chapter [[Portable INI file]].
+
{{tip}} If none of these categories is ever saved, TED Notepad always starts with default preset values. Note, however, that unchecking categories does not necessarily remove respective options and settings from the {{feature|Config}}, if already saved before. Unchecking a category merely tells not to save respective options and settings anymore. This can be utilized to prepare more personal set of default configuration. After setting up, save the settings once, and then uncheck the categories to keep such default values forever.
  
====Save settings on every exit====
+
Note: No settings/options are currently shared between running instances of TED Notepad. If {{feature|word wrapping}} is turned off in one window for example, other windows remain unchanged. This behaviour is usually desired/expected. However, since this also applies to {{feature|Recent Files}}, {{feature|Favourites}} and even  {{feature|Clips}}, changes in one window are not going to be present within other already opened windows.
  
The {{field|Save settings on every 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.
+
Note: The above limitation goes even further, if modifying {{feature|Favourites}} in two different instances at the same time. Upon saving into {{feature|Config}}, the new values conflict and only one of them makes it into the {{feature|Config}}, overwriting the other. Although this is not a direct bug, this inconvenience shall be resolved in future versions.
  
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 other settings will then be saved anymore as well as they have never been before - nothing to load the next time TED Notepad is started.
+
====={{field|Settings:Settings|Save settings}}=====
  
Note: The technique above will actually save one setting, saying not to save any other settings. To prevent TED Notepad completely from saving any settings, use {{feature|/nl}} and {{feature|/ns}} command line parameters. See chapter [[Command line parameters]].
+
The {{field|Settings:Settings|Save settings}} master category specifies whether options and settings are to be saved at all. All saved options and settings are automatically loaded when TED Notepad starts the next time.
  
If you want to preset the settings once and then have them all the same every time you start TED Notepad, make the changes and then click the {{button|Save checked settings}} button. The settings will be saved. Then uncheck this {{field|Save settings on exit}} checkbox and click the {{button|Save checked settings}} button again. From now on no new settings will ever be saved.
+
Note: If {{field|Settings:Settings|Save settings}} is unchecked, no settings categories are ever saved upon exit. That does not mean, however, that any settings already saved into the {{feature|Config}} before are deleted upon unchecking. On the contrary, current {{feature|Config}} values would be protected from overwriting by new values, if {{field|Settings:Settings|Save settings}} is kept unchecked.
  
====Save window position====
+
{{tip}} If you want no settings ever to be saved and want to keed the defaults forever, uncheck this option the very first time you run TED Notepad and click the {{button|Settings:Settings|Save checked}} button to confirm your choice. Note: This technique saves one setting though &mdash; the one that says to save nothing else.
  
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.
+
{{tip}} Optionally, you can create a [[Portable INI file]] with ''read-only'' attribute. This prevents storing any values into it, effectively restricting saving any settings and options whatsoever.
  
<small>Troubleshooting note: If you are using two displays/monitors, you may simply choose to place TED Notepad on the second display. However, when you disconnect one of those displays later and 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 back into viewable area. Therefore, be careful about this setting. A lot of users already get their window lost this way.</small>
+
{{tip}} To prevent TED Notepad completely from trying to load and/or save anything, use {{feature|/nl}} and/or {{feature|/ns}} command line parameters respectively. See chapter [[Command line parameters]] for further details.
  
{{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? ;)}}
+
{{tip}} If you want to preset some personal values for options and settings, then:
 +
# Setup the editor to your liking.
 +
# Make sure {{field|Settings:Settings|Save settings}} is checked.
 +
# Click the {{button|Settings:Settings|Save checked}} button to save the settings.
 +
# Uncheck {{field|Settings:Settings|Save settings}}.
 +
# Click the {{button|Settings:Settings|Save checked}} button again to confirm.
 +
# From now on, no new settings are ever going to be saved.
  
====Save window size====
+
{{tip}} Optionally, if you want to preset some personal values thru a [[Portable INI file]], then:
 +
# Create a [[Portable INI file]].
 +
# Setup the editor to your liking.
 +
# Click the {{button|Settings:Settings|Save checked}} button to save the settings.
 +
#* Make sure {{field|Settings:Settings|Save settings}} is checked.
 +
# Make the [[Portable INI file]] read-only.
 +
# From now on, no new settings are ever going to be saved.
  
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.
+
====={{field|Settings:Settings|Save settings}} categories=====
  
====Save basic options====
+
The '''{{field|Settings:Settings|Window position}}''' category specifies whether the main window's position is to be saved. If saved, the next time TED Notepad is started, it appears on the very same position. If turned off, the system decides, where the window is supposed to be placed.
  
The {{field|Save basic 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 belong to this category.
+
Troubleshooting note: If you are using two displays/monitors and happen to place TED Notepad onto the second display, its position on the second display is stored. However, if you disconnect one of the displays later, TED Notepad will open on the missing display anyway. It may then be quite tricky to move it back into viewable area. Actually, the system itself takes care of the problem at least a little, placing one of the window edges to the very edge of the available screen, making it reachable by the mouse. Also, by using the system taskbar, windows can be moved by keyboard.
  
====Save actual search====
+
Note: If still unable to resolve the situation, see the homepage FAQ for further assistance.
  
The {{field|Save actual search}} category specifies whether the searches are to be saved. There are two searches, the primary one with the {{dialog|Find/Replace}} dialogs and the secondary one.
+
{{mycomment|Ludia su proste len ludia! Kazdopadne, s touto featurov vzdy boli a vzdy budu nejake nepekne problemy: uzivatelom miznu okna priamo pod rukami.. Kam?}}
  
Note: The {{feature|Extended Replace}} tool is not included within this category, although it is also a searching mechanism.
+
The '''{{field|Settings:Settings|Window size}}''' category specifies whether the main window's size is to be saved. If saved, the next time TED Notepad is started, its window is resized to the same values. If turned off, the system decides, how big the window is supposed to be.
  
====Save settings====
+
The '''{{field|Settings:Settings|Basic options}}''' category specifies whether the most common options from the {{menu|Options menu}} are to be saved. These are the switches that are usually touched a lot according to specific types of documents and/or type of usage. {{feature|Word Wrap}}, {{feature|Status Bar}} and {{feature|Second Font}} options belong to this category for example.
  
The {{field|Save settings}} category specifies whether the settings from the {{dialog|Settings}} dialog are to be saved. These are the settings that are usually not modified a lot.
+
The '''{{field|Settings:Settings|Main settings}}''' category specifies whether settings from the [[General page]] and [[Tools page]] of the {{dialog|Settings}} dialog are to be saved.
  
Note: This category actually archs over the saving of nearly all the settings in the {{dialog|Settings}} dialog. However, note, that {{feature|Favourites}} and {{feature|Filters}} are treated as separate categories.
+
The '''{{field|Settings:Settings|Edit settings}}''' category specifies whether settings from the [[Edit page]], [[Appearance page]] and [[Clipboard page]] of the {{dialog|Settings}} dialog are to be saved.
  
====Save Filters====
+
The '''{{field|Settings:Settings|File settings}}''' category specifies whether settings from the [[File page]] and [[Save/Load page]] of the {{dialog|Settings}} dialog are to be saved.
  
The {{field|Save Filters}} category specifies whether the Filters are to be saved. The Filters are saved only when they have been modified.
+
The '''{{field|Settings:Settings|Searches}}''' category specifies whether {{feature|primary search}} and {{feature|secondary search}} are to be saved, i.e. their phrases and options.
 +
Note: The {{feature|Extended Replace}} tool is not included within this category, since it is considered a separate tool, and as such is included below with other tools.
  
====Save phrases from tools====
+
The '''{{field|Settings:Settings|Tools}}''' category specifies whether phrases and options from various tools dialogs are to be saved. This includes most of the tools.
 +
Note, however, that saving of some options in some tools may also be restricted by various settings from the [[Tools page]] of the {{dialog|Settings}} dialog. Also note that this category does not include the settings from [[Tools page]] of the {{dialog|Settings}} dialog, they are saved with other {{field|Settings:Settings|Main settings}}.
  
The {{field|Save phrases from tools}} category specifies whether phrases and also some options from the dialogs of tools are to be saved.
+
The '''{{field|Settings:Settings|Filters}}''' category specifies whether the {{feature|Text Filters}} are to be saved. Note: The {{feature|Text Filters}} are only saved when modified. See {{feature|Text Filters}} for more details.
  
====Save Extended Clipboards====
+
The '''{{field|Settings:Settings|Clips}}''' category specifies whether content of the {{feature|Clips}} is to be saved. Note: The {{feature|Clips}} are only saved when modified. See {{feature|Clips}} for more details.
  
The {{field|Save Extended Clipboards}} 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}}.
+
===={{field|Settings:Settings|Manage}}====
  
====Save checked settings====
+
The '''{{button|Settings:Settings|Save checked}}''' button saves all current settings and options according to the checkboxes above, exactly as they would be saved upon exit.
  
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|Settings:Settings|Restore defaults}}''' button restores all options and settings to their default values as if no options/settings were ever loaded and/or modified.
 +
 
 +
Note: If you restore options and settings, but choose not to save them afterwards, they will not remain ''restored'' the next time TED Notepad is started.
  
Note: This button is disabled, if {{feature|/ns}} command line parameter takes place. See chapter [[Command line parameters]] for more details.
+
Note: The {{button|Settings:Settings|Restore defaults}} button re-applies {{feature|Cascading Portable INI files}} once it is done erasing the ''last of the cascading locations'' (which is indicated on this [[Settings page]] of the {{dialog|Settings}} dialog). The end result should be that settings modified by more globaly should be kept, and only the most local changes should be erased.
  
====Restore defaults====
+
Note: There are two kinds of options that cannot be restored this way: window position and window size. See the [http://jsimlo.sk/notepad/faq.php#reset.position homepage FAQ] for assistance with this matter.
  
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.
+
The '''{{button|Settings:Settings|Export checked to file}}''' button exports all current settings and options according to the checkboxes above to a chosen INI file.
  
Note: There are two options that may not be restored this way: window position and window size.
+
The '''{{button|Settings:Settings|Import from file}}''' button imports settings from a chosen INI file.

Latest revision as of 20:27, 5 October 2021

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

Note: To store the settings and options portably, see chapter Cascading Portable INI files.

Upon exit

The Upon exit panel specifies, which categories of options and settings are to be saved into Config upon exit. Only saved options and settings are remembered between sessions.

Tip: If none of these categories is ever saved, TED Notepad always starts with default preset values. Note, however, that unchecking categories does not necessarily remove respective options and settings from the Config, if already saved before. Unchecking a category merely tells not to save respective options and settings anymore. This can be utilized to prepare more personal set of default configuration. After setting up, save the settings once, and then uncheck the categories to keep such default values forever.

Note: No settings/options are currently shared between running instances of TED Notepad. If word wrapping is turned off in one window for example, other windows remain unchanged. This behaviour is usually desired/expected. However, since this also applies to Recent Files, Favourites and even Clips, changes in one window are not going to be present within other already opened windows.

Note: The above limitation goes even further, if modifying Favourites in two different instances at the same time. Upon saving into Config, the new values conflict and only one of them makes it into the Config, overwriting the other. Although this is not a direct bug, this inconvenience shall be resolved in future versions.

Save settings

The Save settings master category specifies whether options and settings are to be saved at all. All saved options and settings are automatically loaded when TED Notepad starts the next time.

Note: If Save settings is unchecked, no settings categories are ever saved upon exit. That does not mean, however, that any settings already saved into the Config before are deleted upon unchecking. On the contrary, current Config values would be protected from overwriting by new values, if Save settings is kept unchecked.

Tip: If you want no settings ever to be saved and want to keed the defaults forever, uncheck this option the very first time you run TED Notepad and click the Save checked button to confirm your choice. Note: This technique saves one setting though — the one that says to save nothing else.

Tip: Optionally, you can create a Portable INI file with read-only attribute. This prevents storing any values into it, effectively restricting saving any settings and options whatsoever.

Tip: To prevent TED Notepad completely from trying to load and/or save anything, use /nl and/or /ns command line parameters respectively. See chapter Command line parameters for further details.

Tip: If you want to preset some personal values for options and settings, then:

  1. Setup the editor to your liking.
  2. Make sure Save settings is checked.
  3. Click the Save checked button to save the settings.
  4. Uncheck Save settings.
  5. Click the Save checked button again to confirm.
  6. From now on, no new settings are ever going to be saved.

Tip: Optionally, if you want to preset some personal values thru a Portable INI file, then:

  1. Create a Portable INI file.
  2. Setup the editor to your liking.
  3. Click the Save checked button to save the settings.
  4. Make the Portable INI file read-only.
  5. From now on, no new settings are ever going to be saved.
Save settings categories

The Window position category specifies whether the main window's position is to be saved. If saved, the next time TED Notepad is started, it appears on the very same position. If turned off, the system decides, where the window is supposed to be placed.

Troubleshooting note: If you are using two displays/monitors and happen to place TED Notepad onto the second display, its position on the second display is stored. However, if you disconnect one of the displays later, TED Notepad will open on the missing display anyway. It may then be quite tricky to move it back into viewable area. Actually, the system itself takes care of the problem at least a little, placing one of the window edges to the very edge of the available screen, making it reachable by the mouse. Also, by using the system taskbar, windows can be moved by keyboard.

Note: If still unable to resolve the situation, see the homepage FAQ for further assistance.

Ludia su proste len ludia! Kazdopadne, s touto featurov vzdy boli a vzdy budu nejake nepekne problemy: uzivatelom miznu okna priamo pod rukami.. Kam?

The Window size category specifies whether the main window's size is to be saved. If saved, the next time TED Notepad is started, its window is resized to the same values. If turned off, the system decides, how big the window is supposed to be.

The Basic options category specifies whether the most common 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 type of usage. Word Wrap, Status Bar and Second Font options belong to this category for example.

The Main settings category specifies whether settings from the General page and Tools page of the Settings dialog are to be saved.

The Edit settings category specifies whether settings from the Edit page, Appearance page and Clipboard page of the Settings dialog are to be saved.

The File settings category specifies whether settings from the File page and Save/Load page of the Settings dialog are to be saved.

The Searches category specifies whether primary search and secondary search are to be saved, i.e. their phrases and options. Note: The Extended Replace tool is not included within this category, since it is considered a separate tool, and as such is included below with other tools.

The Tools category specifies whether phrases and options from various tools dialogs are to be saved. This includes most of the tools. Note, however, that saving of some options in some tools may also be restricted by various settings from the Tools page of the Settings dialog. Also note that this category does not include the settings from Tools page of the Settings dialog, they are saved with other Main settings.

The Filters category specifies whether the Text Filters are to be saved. Note: The Text Filters are only saved when modified. See Text Filters for more details.

The Clips category specifies whether content of the Clips is to be saved. Note: The Clips are only saved when modified. See Clips for more details.

Manage

The Save checked button saves all current settings and options according to the checkboxes 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 Restore defaults button restores all options and settings to their default values as if no options/settings were ever loaded and/or modified.

Note: If you restore options and settings, but choose not to save them afterwards, they will not remain restored the next time TED Notepad is started.

Note: The Restore defaults button re-applies Cascading Portable INI files once it is done erasing the last of the cascading locations (which is indicated on this Settings page of the Settings dialog). The end result should be that settings modified by more globaly should be kept, and only the most local changes should be erased.

Note: There are two kinds of options that cannot be restored this way: window position and window size. See the homepage FAQ for assistance with this matter.

The Export checked to file button exports all current settings and options according to the checkboxes above to a chosen INI file.

The Import from file button imports settings from a chosen INI file.