Difference between revisions of "Appendix"

From TED Notepad
Line 29: Line 29:
  
 
* A {{definition|word}} is a non-empty sequence of {{definition|alphanums}}. Underscores may optionally be included within words, a phrase like {{string|hello_world}} is then also treated as a single {{definition|word}}. All characters a {{definition|word}} can consist of are called {{definition|word letters}} or {{definition|word characters}}. Other characters are called {{definition|word delimiters}} or {{definition|non-word characters}}. See section [[General page]] of the {{dialog|Settings}} dialog for more information about Underscores in words.
 
* A {{definition|word}} is a non-empty sequence of {{definition|alphanums}}. Underscores may optionally be included within words, a phrase like {{string|hello_world}} is then also treated as a single {{definition|word}}. All characters a {{definition|word}} can consist of are called {{definition|word letters}} or {{definition|word characters}}. Other characters are called {{definition|word delimiters}} or {{definition|non-word characters}}. See section [[General page]] of the {{dialog|Settings}} dialog for more information about Underscores in words.
 +
 +
* A {{definition|word boundary}} is a {{defined|word}} beginning or {{defined|word}} end. This is the place where one of the characters around is a {{defined|word character}} and the other is either a {{defined|non-word character}} or there is no character at all.
 +
  
 
* A {{definition|line}} is a sequence of characters, where two {{definition|lines}} are divided by one {{definition|newline}}. Note that if {{feature|Word Wrap}} is turned on, a {{definition|line}} may be visually wrapped into several visual lines, but within all tools and most features it will still be treated as a single unbroken {{definition|line}}. Any current visual word-wrapping has seldom impact on how {{definition|lines}} are treated within tools and features .
 
* A {{definition|line}} is a sequence of characters, where two {{definition|lines}} are divided by one {{definition|newline}}. Note that if {{feature|Word Wrap}} is turned on, a {{definition|line}} may be visually wrapped into several visual lines, but within all tools and most features it will still be treated as a single unbroken {{definition|line}}. Any current visual word-wrapping has seldom impact on how {{definition|lines}} are treated within tools and features .
  
 
* An {{definition|empty line}} is a {{definition|line}}, which consists of {{definition|white-spaces}} only. Therefore a {{definition|non-empty line}} is a {{definition|line}}, which contains at least one {{definition|graph}} character. Please note that there might be many {{definition|white-spaces}} and still the {{definition|line}} would be considered {{definition|empty line|empty}}.
 
* An {{definition|empty line}} is a {{definition|line}}, which consists of {{definition|white-spaces}} only. Therefore a {{definition|non-empty line}} is a {{definition|line}}, which contains at least one {{definition|graph}} character. Please note that there might be many {{definition|white-spaces}} and still the {{definition|line}} would be considered {{definition|empty line|empty}}.
 +
  
 
* A {{definition|paragraph}} is a sequence of {{definition|non-empty lines}}. Two {{definition|paragraphs}} are divided by a sequence of {{definition|empty lines}}. There is no such thing as empty {{definition|paragraph}}, since sequences of {{definition|empty lines}} are always grouped together when determining {{definition|paragraphs}}.
 
* A {{definition|paragraph}} is a sequence of {{definition|non-empty lines}}. Two {{definition|paragraphs}} are divided by a sequence of {{definition|empty lines}}. There is no such thing as empty {{definition|paragraph}}, since sequences of {{definition|empty lines}} are always grouped together when determining {{definition|paragraphs}}.

Revision as of 23:33, 20 November 2013

This section is up to date for TED Notepad version 6.3.1.0.

The meaning of some terms used in this manual is as follows below:


  • An alphanum is an alpha-numeric character, i.e. a, b, ..., z; A, B, ..., Z; 0, 1, ..., 9.
    • Special characters like á (a with acute) belong to alphanums only in certain locale settings. To be able to recognize these characters as alphanums you need to use CTYPE category of a locale that supports it. TED Notepad always works with the current system locale settings.
  • A digit is any digit recognized by Unicode, i.e. 1, ..., 9, but also ¹, ², ³, etc.
  • A capital is any capital letter, i.e. A, B, ..., Z. These are called letters in upper letter case or simply upper case letters. Their oposites are called lower case letters and are in lower letter case or simply in lower case.
    • Special characters like Á (A with acute) belong to capitals only in certain locale settings. To be able to recognize these characters as capitals you need to use CTYPE category of a locale that supports it. TED Notepad always works with the current system locale settings.
  • There are also other types of characters recognized by TED notepad:
    • A punctuation character is any character recognized by Unicode as meant for punctuation purposes, e.g. quotation marks.
    • A control character is a character from the very beginning of the ASCII table. These have special meaning and should be either avoided or treated with care.




  • A line is a sequence of characters, where two lines are divided by one newline. Note that if Word Wrap is turned on, a line may be visually wrapped into several visual lines, but within all tools and most features it will still be treated as a single unbroken line. Any current visual word-wrapping has seldom impact on how lines are treated within tools and features .


  • A sentence is a sequence of characters that begins with a capital and ends with a Dot, a Question mark or an Exclamation mark. Example: Alice? Who the f... is Alice? are two sentences, but Alice? Who the f... Is Alice? are three sentences. Unfortunatelly, even How are you today, Mr. President? is considered as two sentences.


  • An actual insertion point (also called a cursor position) is a position of the caret in the documnet. It is also the end of the actual selection, if any. Note that the end of the selection is where the user stops selecting the text, therefore if selecting text upwards, the selection end visually preceeds the selection beginning.


  • To unique lines is to remove duplicate lines, to unify them. If lines or words have been uniqued, it means that each line (or word) is unique in the results and that no two lines (or words) are of the same text.