NoteTab
From Wikipedia, the free encyclopedia
NoteTab | |
---|---|
Developed by | Eric Fookes |
Latest release | 5.6 (Pro and Standard free to try) 5.6 (Light free) / January 2008 |
OS | Windows |
Available in | English |
Genre | Text editor |
License | freeware/commercial depending on version |
Website | www.notetab.com/ |
NoteTab is a freeware/commercial text editor for Windows. It was developed by Eric Fookes of Fookes Software, Switzerland. The program's name refers to the fact that it was one of the earliest text-editors capable of editing several open documents on different tabs (tabbed document interface). The first version of NoteTab, known as Mini NoteTab, was launched in 1995; version 5 was introduced in 2006, with version 5.4 released in September 2007, and 5.6 in January 2008. Prior to version 5.4, the latest previous version of NoteTab Light was 4.95.
Contents |
[edit] Features
NoteTab's tabbed interface can simultaneously handle an unlimited number of text files up to 2Gb in size. It is highly customizable, with more than 90 commands available on a user-configurable toolbar.
Some the more unusual features are the "pasteboard", "outline documents", the "clipbook", "clipbars", counting of words/patterns, and powerful support for search and replace. Text can be searched using regular expressions to match subpatterns and recombine the matched substrings in any order, such as reversing dates "May nn" as ("nn May").
The pasteboard is one of the most powerful (and unusual) features. The user chooses a document to "use as pasteboard". Thereafter, any text copied to the Windows clipboard is appended to the pasteboard document. The resulting combined text can then be used as any other text, and searched to reuse clippings from days or weeks ago.
Outline documents provide hyperlinked headings within a text document, which can be accessed directly by clicking in a side pane; the outline documents can be read in any editor.
NoteTab has its own macro language, called "Clip". The clipbook displays a library of clips (clickable macros) in a side pane. These could be anything from pieces of boilerplate text to HTML tags to "mini-applications" complicated scripts written in the scripting language. A selection of clip libraries is included with the software and others can be downloaded from the Web.
Clipbars are user-defined buttons that appear on a toolbar, for example to execute custom scripts and wizards.
The search and replace features of NoteTab are much more powerful than most text editors, and include regular expressions and a hierarchical search/replace of text in folders on a disk drive. Since version 5.0, NoteTab uses Perl Compatible regular expressions powered by PCRE.
NoteTab integrates with such products as HTML Tidy, TopStyle, CSE HTML Validator and WordWeb.
[edit] Light, Standard, and Pro
The software exists in three forms:
- NoteTab Light (formerly Super NoteTab) (freeware)
- NoteTab Standard ($20)
- NoteTab Pro ($30)
There are 30-day trial versions available for Standard and Pro.
NoteTab Light is completely free for all users, with no time-limit, nag screen, appeals for donations, etc. It lacks some of the features of NoteTab Standard. For example, you can read Outline and EBCDIC files but not write them; the disk search facility is present but not disk replace; and the clipbars, customizable menu shortcuts, spell checker and thesaurus are not available. (These "commercial features" can be "turned on" once from within the software, and be used for up to 30 days.) However, these features are hardly indispensable for most purposes and NoteTab Light works perfectly well as a fully-fledged editor. For this reason, the author of NoteTab rejects the description of NoteTab Light as crippleware, and it is true that there are many less full-featured paid-for editors on the market.
NoteTab Standard includes, among other features:
- disk search/replace (i.e., change the contents of files without opening them)
- customizable menu shortcuts
- read and write EBCDIC files
- text templates
- text-to-HTML conversion, and tag-stripping
- regular expression handling, including multiline regex
- search/replace tokens, for simple tasks that would otherwise require regex
NoteTab Pro adds, among others, multi-level undo/redo, syntax highlighting, show/hide nonprinting characters, wrap to column, and support for fixed-pitch OEM fonts, as well as greater speed.
[edit] Limitations
NoteTab does not currently include support for Unicode documents. NoteTab only has syntax highlighting for HTML documents and NoteTab clip/scripts; and not for other languages.
[edit] System requirements
[edit] NoteTab regular expressions
- See also: Regular expression
The NoteTab text editor, after NoteTab Light 5.4, allows matching text with regular expressions, such as for search or search-and-replace. For example, to remove double-brackets around each year (of the form "[[19xx]]"), the expressions to use could be a match for "\[\[(19..)\]\]" replaced by the expression "$1" which replaces the matching text with the first (and only) subpattern defined in parentheses (hence just the 4-digit year "19xx").
The general syntax of NoteTab regular expressions uses the same rules as Perl Compatible syntax, as follows:
- During search:
-
-
- ^ - the caret matches the beginning of a line (before the first character);
- $ - the dollar sign matches the end of the line, but matches a numbered subpattern upon replacement;
- [ ] - brackets define a set of characters, such as "[abcxyw]";
- [0-9] - a minus sign defines a range (such as 0 to 9);
- [-9] - a leading minus sign is literal (matching "-" or "9");
- . - a period indicates any character.
- * - an asterisk indicates there are zero or more of the preceding element.
- ? - a question mark modifies the * so that it goes for the shortest of possible solutions.
- ( ) - parentheses define a subpattern (recalled by $1, $2, etc.);
- \1, \2 - backreference numbers rematch earlier subpatterns \1, \2,... \9.
-
- During replacement:
-
-
- $ - a dollar sign recalls the text matching a subpattern (such as $1, $2, $3 recalling the text matching parenthesized groups 1, 2 and 3).
-
The following are some examples:
- Split any year numbers "19xx" to have embedded ampersands:
-
- Search for: \b(19)(..) and replace by: $1&$2
- Results: 1995 or 1942 will become: 19&95 or 19&42.
- Remove any leading-zeros from numbers:
-
- Search for: ([\b\[\(])0+([1-9]+) and replace by: $1$2
- Results: 012 or [068] or (0004) will become: 12 or [68] or (4).
- Remove any double-brackets from years "19xx":
-
- Search for: \[\[(19..)\]\] and replace by: $1
- Results: [[1968]] or [[1942]] will become: 1968 or 1942.
- Split text squares (such as "hehe" or "WikiWiki"):
-
- Search for: (..+)(\1) and replace by: $1++$2
- Results: WikiWiki or booboo or 1818 will become: Wiki++Wiki or boo++boo or 18++18.
- Remove any double-brackets from years "19xx" or "20xx":
-
- Search for: \[\[(19..|20..)\]\] and replace by: $1
- Results: [[1936]] or [[2008]] will become: 1936 or 2008.
- Remove bracketed info:
-
- Search for: \[.*?] and replace with nothing, or a blank space, a period, a dash, etc..
- Results: [address] or [phone number] or [whatever] are removed from documents (for example; to remove private info from documents). The question mark goes for the shortest of possible solutions, in order to insure removing the bracketed info between the nearest brackets.
The whole line of text is referred to as a string, the text to match is called the regular expression, and each portion in parentheses is termed a subpattern.
Note that each subpattern reference ($1, $2, $3, etc.) must have a corresponding set of parentheses "( )" in the search expression. If there is only one set of parentheses, then $2 will show as literally dollar-sign numeral two ("$2") in the replacement string.
[edit] See also
[edit] External links
- NoteTab homepage
- Fookes Software
- User Forums: Basic, Clips (see the files section of the Clips forum for most recent user-contributed Clip Libraries)
- Clipwriter 3rd-Party Utility