Difference between revisions of "General page"

From TED Notepad
m
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
====Tab Size====
+
<noinclude>{{manversion|6.1.0.2|dialog|Settings:General}}__NOTOC__</noinclude>
  
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.
+
===={{field|Settings:General|Application}}====
  
====Left Margin====
+
The '''{{field|Settings:General|Exit by Esc key}}''' setting allows the {{hotkey|Esc}} and  {{hotkey|Shift+Esc}} hotkeys to exit the application. Note that open dialogs are closed by {{hotkey|Esc}} as well, and all dialogs are closed before the application itself is closed by {{hotkey|Esc}} hotkey. This includes the {{dialog|Search bar}}.
  
The {{field|Left Margin}} value specifies the size of the left {{system|selection margin}}. 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.
+
The '''{{field|Settings:General|Ask upon such exit}}''' setting is available only if {{field|Settings:General|Exit by Esc key}} is turned on, and ensures that the user is asked about the closing before actually closing the application.
  
====Text Limit====
+
The '''{{field|Settings:General|Full path in Caption}}''' setting displays also full document path (including drive letter and directory path) and file name (including file extension) in the main window title and on the Taskbar icon. If turned off, only displays a ''file title'', which usually does not include path and may also exclude file extension. Note: What components ''file title'' actually contains can be modified thru {{system|Windows Explorer Options}} dialog; e.g. by default, file extension is hidden on most Windows Installations, but can be turned on by advanced users.
  
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 for your documents. If no such limit is required, leave zero in this field.
+
The '''{{field|Settings:General|Check for updates}}''' setting enables automated weekly checks for new versions of TED Notepad. See {{feature|AutoCheck for Updates}} for details.
  
{{version}} 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.
+
===={{field|Settings:General|Status}}====
  
====Persistent selection in Tools====
+
The '''{{field|Settings:General|No ASCII in Status Bar}}''' setting disables panel of {{feature|Status Bar}} where current character's code is displayed. See  {{feature|Status Bar}} for more details.
  
The {{field|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).
+
The '''{{field|Settings:General|No save through Status Bar}}''' setting disables invoking the {{feature|Save}} command thru double-clicking on the respective panel of the {{feature|Status Bar}}. By default, double-clicking on panel with unsaved modifications indicator conveniently invokes {{feature|Save}} or
 +
{{feature|Save As}} commands.
  
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.
+
===={{field|Settings:General|Words}}====
  
{{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 {{feature|Unique Lines}} tool and then additional {{feature|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
+
The '''{{field|Settings:General|Basic word definition (alphanums only)}}''' setting disables full unicode character recognition when determining words, and uses a bit simpler {{defined|alphanum}} character class (letters, letters with diacritics and numbers) for {{defined|word}} definition.
second tool without need to re-select the text.
 
  
====Auto-indent text====
+
This {{defined|word}} definition is used when working with {{defined|words}}, e.g. in {{feature|Select Word}} or {{feature|Complete Word}}, but also in many tools.
  
The {{field|Auto-indent text}} setting specifies, whether an auto-indentation mode is to be used. When turned on, each time a new line is being started (using the {{hotkey|Enter}} key), {{feature|Smart Return}} feature (hotkey {{hotkey|Ctrl+Enter}}) is used instead. The {{feature|Smart Return}} starts a new line as usual, but also copies all initial {{defined|white-spaces}} from the previous line to the new line to reach the current text indentation. See chapter [[Edit menu]] for details.
+
The '''{{field|Settings:General|Include underscores in words}}''' setting adds underscore character to the {{defined|word}} definition. Underscores (by default) are not part of {{defined|words}} and are treated as {{defined|word delimiters}}.
  
====Insert Spaces instead of Tab====
+
Note: Other characters, those that are not included within {{defined|words}} are divided into two groups: {{defined|white-spaces}} and {{defined|word delimiters}}. All word-oriented features (e.g. {{feature|Select Word}}) usually treat all {{defined|white-spaces}} as one delimiting character. So, for example, {{feature|Select Word}} selects either one {{defined|word}} or all consecutive {{defined|white-spaces}} or a single {{defined|word delimiter}} otherwise.
  
The {{field|Insert Spaces instead of Tab}} setting specifies, whether to use a Tab character when a {{hotkey|Tab}} key is pressed, or whether to insert Spaces instead. The number of Spaces inserted depends on the actual position of the caret on the line and also on the {{field|Tab Size}} setting.
+
===={{field|Settings:General|Date/time}}====
  
Note: While using a fixed-width font, the resulting ''white space'' of inserted Spaces should be the same, as if a real Tab was inserted. This, however, does not always work with proportional fonts. In proportional fonts, size of a Space character often differ from a base character width. Therefore, there may be a difference between a real Tab size and a spaced Tab size. This feature is primarily meant for fixed-width fonts only.
+
The '''{{field|Settings:General|Date/time glue}}''' setting allows to set a joint string between the Date and Time parts. See {{feature|Date/Time}} inserting commands.
  
====Include underscores within words====
+
=====Additional date/time settings=====
  
The {{field|Include underscores within words}} setting specifies whether an Underscore character should be included within the definition of the {{defined|word letters}}. This definition is used when working with words, like {{feature|Select Word}} or {{feature|Complete Word}} features do.
+
It is possible to override the user locale, but this has to be done by manually editting the {{feature|Config}}, as these overrides are not included in the {{feature|Settings}} dialog. Please do note that this is only recommended for advanced users with good technical skills.
  
Note: Other characters, those that are not included within the {{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 treat 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 otherwise.
+
Find config section {{string|Setts}} in the {{feature|Config}}. Use {{string|LcTF}} config entry to override time format, use {{string|LcDLF}} config entry to override long date format, use {{string|LcDSF}} config entry to override short date format.
  
====Line numbers unwrapped====
+
{{example_start}}'''Example:''' INI file overridding the user date and time locale settings:
 +
{{example_body}}<nowiki>[Setts]
 +
LcTF=H:mm:ss
 +
LcDLF=dddd, dd MM yyyy
 +
LcDSF=yyyy-MM-dd</nowiki>
 +
{{example_end}}
  
The {{field|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 {{feature|word wrapped}}.
+
Note: Specify date and time formats separately, as shown in the above example.
  
The number of the actual line is displayed in the {{feature|Status Bar}} and may be used, for example, in the {{button|Go to Line}} feature.
+
Note: Date and time formats are not currently validated by TED Notepad, and are simply passed directly to the GetDateFormat and GetTimeFormat system functions respectively.
  
'''Warning''': Re-calculating of unwrapped lines is not a well-supported operation by the standard Windows edit box. It may noticeably slow down the system performance, when used with longer documents! With a very long document, the application may even stop responding. It may take a long time then to open the {{dialog|Settings dialog}} to turn this setting off. Use this setting with caution.
+
===={{field|Settings:General|.LOG feature}}====
  
====Complete Word dialog sorted====
+
The '''{{field|Settings:General|Add date first, then time}}''' setting tells, whether to use {{feature|Date/Time}} or {{feature|Time/Date}} upon creating new log with the {{feature|.LOG extension}}.
  
The {{field|Complete Word dialog sorted}} setting specifies whether the {{feature|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 {{feature|Complete Word}} feature.
+
===={{field|Settings:General|Recent Files}}====
  
====Exit by Esc====
+
The '''{{field|Settings:General|Empty Recent Files menu}}''' setting button empties the list of the {{feature|Recent Files}}.
 
 
The {{field|Exit by Esc}} setting enables or disables the {{hotkey|Esc}} and {{hotkey|Shift+Esc}} hotkeys.
 
 
 
====Full path in caption====
 
 
 
The {{field|Full path in caption}} setting enables to display the full document path (including drive letter and directory path) in the caption of the main window, instead of the simple document name.
 
 
 
====Recently opened files====
 
 
 
The {{field|Recently opened files}} setting 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 setting is turned on.
 
 
 
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]].
 
 
 
=====Empty the Recent files menu=====
 
 
 
The {{button|Empty}} button below the {{field|Recently opened files}} empties the list of the {{feature|Recently opened files}}.
 
 
 
====Fixed-width Font, Proportional Font====
 
 
 
The {{field|Fixed-width Font}} specifies whether the default system fixed-width font is to be used as a {{field|fixed-width}} font or a custom user's font. Use the {{field|Primary font}} button to choose this custom user's font.
 
 
 
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.
 

Latest revision as of 20:24, 17 March 2024

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

Application

The Exit by Esc key setting allows the Esc and Shift+Esc hotkeys to exit the application. Note that open dialogs are closed by Esc as well, and all dialogs are closed before the application itself is closed by Esc hotkey. This includes the Search bar.

The Ask upon such exit setting is available only if Exit by Esc key is turned on, and ensures that the user is asked about the closing before actually closing the application.

The Full path in Caption setting displays also full document path (including drive letter and directory path) and file name (including file extension) in the main window title and on the Taskbar icon. If turned off, only displays a file title, which usually does not include path and may also exclude file extension. Note: What components file title actually contains can be modified thru Windows Explorer Options dialog; e.g. by default, file extension is hidden on most Windows Installations, but can be turned on by advanced users.

The Check for updates setting enables automated weekly checks for new versions of TED Notepad. See AutoCheck for Updates for details.

Status

The No ASCII in Status Bar setting disables panel of Status Bar where current character's code is displayed. See Status Bar for more details.

The No save through Status Bar setting disables invoking the Save command thru double-clicking on the respective panel of the Status Bar. By default, double-clicking on panel with unsaved modifications indicator conveniently invokes Save or Save As commands.

Words

The Basic word definition (alphanums only) setting disables full unicode character recognition when determining words, and uses a bit simpler alphanum character class (letters, letters with diacritics and numbers) for word definition.

This word definition is used when working with words, e.g. in Select Word or Complete Word, but also in many tools.

The Include underscores in words setting adds underscore character to the word definition. Underscores (by default) are not part of words and are treated as word delimiters.

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

Date/time

The Date/time glue setting allows to set a joint string between the Date and Time parts. See Date/Time inserting commands.

Additional date/time settings

It is possible to override the user locale, but this has to be done by manually editting the Config, as these overrides are not included in the Settings dialog. Please do note that this is only recommended for advanced users with good technical skills.

Find config section Setts in the Config. Use LcTF config entry to override time format, use LcDLF config entry to override long date format, use LcDSF config entry to override short date format.

Example: INI file overridding the user date and time locale settings:
[Setts] LcTF=H:mm:ss LcDLF=dddd, dd MM yyyy LcDSF=yyyy-MM-dd

Note: Specify date and time formats separately, as shown in the above example.

Note: Date and time formats are not currently validated by TED Notepad, and are simply passed directly to the GetDateFormat and GetTimeFormat system functions respectively.

.LOG feature

The Add date first, then time setting tells, whether to use Date/Time or Time/Date upon creating new log with the .LOG extension.

Recent Files

The Empty Recent Files menu setting button empties the list of the Recent Files.