Difference between revisions of "Appendix"
From TED Notepad
Line 21: | Line 21: | ||
*A {{definition|paragraph}} is a sequence of {{definition|non-empty lines}}. Two {{definition|paragraphs}} are then divided by a non-empty sequence of {{definition|empty lines}}. | *A {{definition|paragraph}} is a sequence of {{definition|non-empty lines}}. Two {{definition|paragraphs}} are then divided by a non-empty sequence of {{definition|empty lines}}. | ||
− | *A {{definition|sentence}} is a sequence of characters that begins with a {{definition|capital}} and ends with a Dot, a Question mark or an Exclamation mark. Example: {{string|Alice? Who the f... is Alice?}} are two {{definition|sentences}}, but {{string|Alice? Who the f... Is Alice?}} are three {{definition|sentences}}. | + | *A {{definition|sentence}} is a sequence of characters that begins with a {{definition|capital}} and ends with a Dot, a Question mark or an Exclamation mark. Example: {{string|Alice? Who the f... is Alice?}} are two {{definition|sentences}}, but {{string|Alice? Who the f... Is Alice?}} are three {{definition|sentences}}. Unfortunatelly, even {{string|How are you today, Mr. President?}} are two {{definition|sentences}}, which is not very true. |
*A {{definition|column}} is a sequence of characters on a {{definition|line}}. Two {{definition|columns}} are divided by any of the {{definition|column delimiters}}. A {{definition|column}} can not exceed a {{definition|line}}. Typically, when a {{definition|line}} is divided into logical parts by a special {{definition|delimiter}} character (e.g. a Tab character), those parts are called {{definition|columns}}. {{definition|Columns}} are used to cut out a sub-{{definition|string}} from a {{definition|line}}. | *A {{definition|column}} is a sequence of characters on a {{definition|line}}. Two {{definition|columns}} are divided by any of the {{definition|column delimiters}}. A {{definition|column}} can not exceed a {{definition|line}}. Typically, when a {{definition|line}} is divided into logical parts by a special {{definition|delimiter}} character (e.g. a Tab character), those parts are called {{definition|columns}}. {{definition|Columns}} are used to cut out a sub-{{definition|string}} from a {{definition|line}}. |
Revision as of 20:12, 23 February 2006
The meaning of some terms used in this manual is as follows below. Many of them are intuitive; some of them may not be well-known; and some of them are used here, only to describe exact actions of some tools within TED Notepad.
- A
white-space
is a Space, a Tab or another character that can not be seen but takes place in the document. All other characters, which can be seen, are calledgraphs
.
- An
alphanum
* is an alpha-numeric character (ie. a, b, ..., z, A, B, ..., Z, 0, 1, ..., 9).
- A
capital
* is any capital letter (ie. A, B, ..., Z).
- Capitals are letters in
upper letter case
or simplyupper case
letters and their oposites are calledlower case
letters and are inlower letter case
or simply inlower case
.
- To
ignore case
is to ignore differences betweenletter cases
likecapitals
andlower case
letters. Whenignoring case
, letter a is equal to letter A, b equal to B, etc. An antonym ofignore case
is tomatch case
and an operation, thatmatches case
iscase sensitive
.
- A
string
is a sequence of characters. Typically, suchstring
is used as a synonym for a phrase, that a user have written in a dialog. (E.g. Find what and Replace withstrings
from Find/Replace dialogs are always used in find/replace mechanisms.)
- A
word
is a non-empty sequence ofalphanums
. Underscores may be optionally included** and phrase hello_world is then treated as a singleword
within all Tools and Functions. All characters that such aword
can consist of are calledword letters
or alsoword characters
.
- A
line
is a sequence of characters, where twolines
are divided by a CR/NL sequence of characters. Note, that if Word Wrap is turned on, aline
may be wrapped, but within all tools it will be still treated as a singleline
. Also note, that a single NL or CR character does not divide twolines
.
- An
empty line
is aline
, that consists only ofwhite-spaces
. Therefore anon-empty line
is aline
, that contains at least onegraph
character.
- A
paragraph
is a sequence ofnon-empty lines
. Twoparagraphs
are then divided by a non-empty sequence ofempty lines
.
- A
sentence
is a sequence of characters that begins with acapital
and ends with a Dot, a Question mark or an Exclamation mark. Example: Alice? Who the f... is Alice? are twosentences
, but Alice? Who the f... Is Alice? are threesentences
. Unfortunatelly, even How are you today, Mr. President? are twosentences
, which is not very true.
- A
column
is a sequence of characters on aline
. Twocolumns
are divided by any of thecolumn delimiters
. Acolumn
can not exceed aline
. Typically, when aline
is divided into logical parts by a specialdelimiter
character (e.g. a Tab character), those parts are calledcolumns
.Columns
are used to cut out a sub-string
from aline
.
- A
char range
is a sub-sequence of characters that begins and ends at the specified positions. Char range is used to cut out a sub-string
from a longercolumn
.
- An
actual insertion point
(also called acursor position
) is a position of the caret in the documnet or the end of the actual selection, if any. Note, that in special cases, it is the beginning of the selection, if any. These special cases are tools/features that work backward. (e.g. Find Previous or BkSpace Word.)
This section is incomplete and wants to be finished later. |
TODO: Describe verb to unique. |
*: Special characters like á (a with acute) do not belong to alphanums
, nor capitals
in English locale settings. To be able to recognize those characters as alphanums
and capitals
you have to use CTYPE category of the locale that supports it. TED Notepad always works with the system locale settings.
**: See section Settings dialog.