Difference between revisions of "General page"

From TED Notepad
Line 1: Line 1:
<noinclude>{{manversion|5.3.0.4}}__NOTOC__</noinclude>
+
<noinclude>{{manversion|6.0.0.17|dialog|Settings:General}}__NOTOC__</noinclude>
  
====Tab Size====
+
===={{field|Settings:General|Application}}====
  
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|Settings:General|Exit by Esc key}} 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 {{feature|Search Bar}}.
  
====Left Margin====
+
The {{field|Settings:General|Ask upon such exit}} 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.
  
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|Full path in Caption}} displays 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, 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.
  
====Text Limit====
+
===={{field|Settings:General|Status}}====
  
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|No ASCII in Status Bar}} disables panel of {{feature|Status Bar}} where current character's code is displayed. See  {{feature|Status Bar}} for more 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.
+
The {{field|Settings:General|No save through Status Bar}} 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.
  
====Persistent selection in Tools====
+
===={{field|Settings:General|Words}}====
  
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|Basic word definition (alphanums only)}} disables full unicode character recognition when determining words, and uses a bit more simple ''alphanum'' character class (letters, letters with diacritics and numbers) for {{defined|word}} definition.
  
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.
+
This {{defined|word}} definition is used when working with {{defined|words}}, e.g. in {{feature|Select Word}} or {{feature|Complete Word}}.
  
{{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|Include underscores in words}} adds underscore character to the {{defined|word}} definition. Underscores (by default) are not part of {{defined|words}} and are treated as {{defined|word delimiters}}.
second tool without need to re-select the text.
 
  
====Auto-indent text====
+
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|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.
+
===={{field|Settings:General|.LOG feature}}====
  
====Insert Spaces instead of Tab====
+
The {{field|Settings:General|Add date first, then time}} tells, whether to use {{feature|Date/Time}} or {{feature|Time/Date}} upon creating new log with the {{feature|.LOG extension}}.
  
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|Recent Files}}====
  
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|Empty Recent Files menu}} button empties the list of the {{feature|Recent Files}}.
 
 
====Include underscores within words====
 
 
 
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.
 
 
 
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.
 
 
 
====Line numbers unwrapped====
 
 
 
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}}.
 
 
 
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.
 
 
 
'''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.
 
 
 
====Complete Word dialog sorted====
 
 
 
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.
 
 
 
====Exit by Esc====
 
 
 
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.
 

Revision as of 11:28, 4 July 2012

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 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 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 displays 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, 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.

Status

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

The No save through Status Bar 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) disables full unicode character recognition when determining words, and uses a bit more simple 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.

The Include underscores in words 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.

.LOG feature

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

Recent Files

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