Appendix

From TED Notepad
Jump to: navigation, search
This section is up to date for TED Notepad version 5.4.1.1.

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 called graphs.
  • 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 simply upper case letters and their oposites are called lower case letters and are in lower letter case or simply in lower case.
  • To ignore case is to ignore differences between letter cases like capitals and lower case letters. When ignoring case, letter a is equal to letter A, b equal to B, etc. An antonym of ignore case is to match case and an operation, that matches case is case sensitive.
  • A string is a sequence of characters. Typically, such string is used as a synonym for a phrase, that a user have written in a dialog. (E.g. Find what and Replace with strings from Find/Replace dialogs are always used in find/replace mechanisms.)
  • A word is a non-empty sequence of alphanums. Underscores may be optionally included** within words and a phrase hello_world is then also treated as a single word within all Tools and Functions. All characters that such a word can consist of are called word letters or also word characters. Other characters are considered to be word delimiters
  • A line is a sequence of characters, where two lines are divided by a CR/NL sequence of characters. Note, that if Word Wrap is turned on, a line may be wrapped, but within all tools it will be still treated as a single line. Also note, that a single NL or CR character does not divide two lines.
  • An empty line is a line, that consists only of white-spaces. Therefore a non-empty line is a line, that contains at least one graph character.
  • A paragraph is a sequence of non-empty lines. Two paragraphs are then divided by a non-empty sequence of empty lines.
  • 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? are two sentences, which is not very fortunate.
  • A column is a sequence of characters on a line. Two columns are divided by any of the column delimiters. A column can not exceed a line. Typically, when a line is divided into logical parts by a special delimiter character (e.g. a Tab character), those parts are called columns. Columns are used to cut out a sub-string from a line.
  • 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 longer column.
  • An actual insertion point (also called a cursor 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.)
  • To unique lines is to remove duplicate lines, to unify them. If lines or words are uniqued, it means that each line (word) is unique and there no two lines are of the same text.

*: Special characters like á (a with acute) may 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 General page of the Settings dialog.

Personal tools
Navigation