Difference between revisions of "Appendix"
From TED Notepad
Line 9: | Line 9: | ||
* An {{definition|alphanum}} is an alpha-numeric character, i.e. {{string|a}}, {{string|b}}, ..., {{string|z}}; {{string|A}}, {{string|B}}, ..., {{string|Z}}; {{string|0}}, {{string|1}}, ..., {{string|9}}. | * An {{definition|alphanum}} is an alpha-numeric character, i.e. {{string|a}}, {{string|b}}, ..., {{string|z}}; {{string|A}}, {{string|B}}, ..., {{string|Z}}; {{string|0}}, {{string|1}}, ..., {{string|9}}. | ||
** <small>Special characters like á (a with acute) belong to {{definition|alphanums}} only in certain locale settings. To be able to recognize these characters as {{definition|alphanums}} you need to use CTYPE category of a locale that supports it. TED Notepad always works with the current system locale settings.</small> | ** <small>Special characters like á (a with acute) belong to {{definition|alphanums}} only in certain locale settings. To be able to recognize these characters as {{definition|alphanums}} you need to use CTYPE category of a locale that supports it. TED Notepad always works with the current system locale settings.</small> | ||
+ | |||
+ | * A {{definition|digit}} is any digit recognized by Unicode, i.e. {{string|1}}, ..., {{string|9}}, but also {{string|¹}}, {{string|²}}, {{string|³}}, etc. | ||
* A {{definition|capital}} is any capital letter, i.e. {{string|A}}, {{string|B}}, ..., {{string|Z}}. These are called letters in {{definition|upper letter case}} or simply {{definition|upper case}} letters. Their oposites are called {{definition|lower case}} letters and are in {{definition|lower letter case}} or simply in {{definition|lower case}}. | * A {{definition|capital}} is any capital letter, i.e. {{string|A}}, {{string|B}}, ..., {{string|Z}}. These are called letters in {{definition|upper letter case}} or simply {{definition|upper case}} letters. Their oposites are called {{definition|lower case}} letters and are in {{definition|lower letter case}} or simply in {{definition|lower case}}. |
Revision as of 23:11, 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:
- A
white-space
is a Space or a Tab or another character that can not be seen but provides blank visual separator in the document. All other characters which can be seen, are calledgraphs
.
- An
alphanum
is an alpha-numeric character, i.e. a, b, ..., z; A, B, ..., Z; 0, 1, ..., 9.
- 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 inupper letter case
or simplyupper case
letters. Their oposites are calledlower case
letters and are inlower letter case
or simply inlower case
.
- Other types of
character case
includeword capitals
, where eachword
begins with acapital
and continues withlower case
letters;first capital
, where the first letter is acapital
and all others arelower case
letters; andmixed case
, where none of the aboveletter cases
can be determined.
- 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
.
- To
mimic character case
is to try to altercharacter case
of some text based oncharacter case
of the original. Currently only basic types ofcharacter case
are recognized:lower case
,upper case
,word capitals
,first capital
. Everyting else is consideredmixed case
.
- A
string
is a sequence of characters. Typically, suchstring
is used as a synonym for a phrase that a user have entered in a dialog. E.g. Find and Replacestrings
from Search and Replace dialog are always used in find/replace mechanisms.
- A
word
is a non-empty sequence ofalphanums
. Underscores may optionally be included within words, a phrase like hello_world is then also treated as a singleword
. All characters aword
can consist of are calledword letters
orword characters
. Other characters are calledword delimiters
ornon-word characters
. See section General page of the Settings dialog for more information about Underscores in words.
- A
line
is a sequence of characters, where twolines
are divided by onenewline
. Note that if Word Wrap is turned on, aline
may be visually wrapped into several visual lines, but within all tools and most features it will still be treated as a single unbrokenline
. Any current visual word-wrapping has seldom impact on howlines
are treated within tools and features .
- An
empty line
is aline
, which consists ofwhite-spaces
only. Therefore anon-empty line
is aline
, which contains at least onegraph
character. Please note that there might be manywhite-spaces
and still theline
would be consideredempty
.
- A
paragraph
is a sequence ofnon-empty lines
. Twoparagraphs
are divided by a sequence ofempty lines
. There is no such thing as emptyparagraph
, since sequences ofempty lines
are always grouped together when determiningparagraphs
.
- 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? is considered as twosentences
.
- An
actual insertion point
(also called acursor 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.