
=======================================================================
=                                                                     =
=                                                                     =
=    Notepad2 - Yet another Notepad replacement... ☺                  =
=                                                                     =
=                                                                     =
=                                                   Notepad2 1.0.01   =
=                                           (c) Florian Balmer 2004   =
=                                       http://www.flos-freeware.ch   =
=                                                                     =
=                                                                     =
=======================================================================


Description

  The original Notepad shipped with Windows is probably the handiest
  program of all times, small, fast, without frills! Notepad2 tries to
  follow this principle, it's a small, fast and free text editor with
  syntax highlighting for HTML and other common languages. Notepad2
  works on Windows 9x, Me, NT, 2k and XP.


Features

  - Customizable syntax highlighting:
    - HTML, JavaScript, VBScript, ASP, PHP, CSS, Perl/CGI
    - C/C++, C#, Java, VB, Pascal, Assembler, SQL
    - INI, REG, INF, BAT
  - Drag & drop text editing inside and outside Notepad2
  - Basic regular expression search and replace
  - Useful word, line and block editing shortcuts
  - Rectangular selection (Alt+Mouse)
  - Brace matching, auto indent, long line marker, zoom functions
  - Support for Unicode, UTF-8, Unix and Mac text files
  - Open shell links
  - Mostly adjustable


Installation and Uninstallation

  Just put a copy of Notepad2.exe to any directory on your computer. To
  remove the Notepad2 registry entries, run "Notepad2.exe -u" from any
  command line, and then delete Notepad2.exe to have a complete,
  traceless uninstall.


Keyboard Shortcuts for Notepad2

  File

    Ctrl+N                New file.
    Ctrl+O                Open file.
    Ctrl+S                Save file.
    F6                    Save file as.
    Ctrl+F6               Save file copy.
    Ctrl+P                Print file.
    Alt+H                 Open recent file.

  Tools

    Alt+N                 Open document in new window.
    Alt+0                 Open new empty window.
    Ctrl+M                Run metapath file browser plugin.
    Ctrl+L                Launch document.
    Alt+L                 Open with.
    Ctrl+Q                Run command.

  Edit

    Ctrl+Z                Undo.
    Ctrl+Y                Redo.
    Ctrl+X                Cut.
    Shift+Del             Cut.
    Ctrl+C                Copy.
    Ctrl+Shift+C          Copy all.
    Ctrl+V                Paste.
    Shift+Ins             Paste.
    Del                   Clear.
    Ctrl+A                Select all.
    Ctrl+Enter            New line with toggled auto indent option.

  Word

    Ctrl+Space            Select word.
    Ctrl+Backspace        Delete word before.
    Ctrl+Del              Delete word after.
    Alt+Backspace         Delete word left.
    Alt+Del               Delete word right.

  Line

    Ctrl+T                Transpose line.
    Ctrl+D                Duplicate line.
    Ctrl+K                Cut line.
    Ctrl+E                Delete line.
    Ctrl+Shift+Backspace  Delete line left.
    Ctrl+Shift+Del        Delete line right.
    Alt+W                 Remove trailing blanks.
    Ctrl+J                Jump to line.

  Block

    Tab                   Indent selected block.
    Shift+Tab             Unindent selected block.
    Ctrl+I                Split lines.
    Ctrl+Shift+I          Join lines.

  Convert

    Ctrl+U                Make uppercase.
    Ctrl+Shift+U          Make lowercase.
    Ctrl+Shift+A          Convert to ANSI.
    Ctrl+Shift+O          Convert to OEM.

  Find, replace

    Ctrl+F                Find.
    F3                    Find next.
    Shift+F3              Find previous.
    Ctrl+H                Replace.

  Syntax scheme

    F12                   Select syntax scheme.
    Ctrl+F12              Customize syntax schemes.

  View
    Ctrl+W                Toggle word wrap.
    Ctrl+Shift+L          Show long line marker.
    Ctrl+G                Show indentation guides.
    Ctrl+Shift+N          Show line numbers.
    Ctrl+Shift+M          Show selection margin.
    Ctrl+Shift+8          Show whitespace.
    Ctrl+Shift+9          Show line endings.
    Ctrl+B                Toggle brace matching.

  Zoom

    Ctrl++                Zoom in.
    Ctrl+-                Zoom out.
    Ctrl+/                Reset zoom.

  Misc.

    Ctrl+Q                Exit Notepad2.
    Esc                   Optionally minimize or exit Notepad2.
    F1                    Display version info.


Tips and Tricks, Special Features, Limitations

  Regular Expression Syntax

  .      Matches any character

  \(     This marks the start of a region for tagging a match.

  \)     This marks the end of a tagged region.

  \n     Where n is 1 through 9 refers to the first through ninth
         tagged region when replacing. For example, if the search
         string was Fred\([1-9]\)XXX and the replace string was
         Sam\1YYY, when applied to Fred2XXX this would generate
         Sam2YYY.

  \<     This matches the start of a word.

  \>     This matches the end of a word.

  \x     This allows you to use a character x that would otherwise
         have a special meaning. For example, \[ would be interpreted
         as [ and not as the start of a character set.

  [...]  This indicates a set of characters, for example, [abc] means
         any of the characters a, b or c. You can also use ranges, for
         example [a-z] for any lower case character.

  [^...] The complement of the characters in the set. For example,
         [^A-Za-z] means any character except an alphabetic character.

  ^      This matches the start of a line (unless used inside a set,
         see above).

  $      This matches the end of a line.

  *      This matches 0 or more times. For example, Sa*m matches Sm,
         Sam, Saam, Saaam and so on.

  +      This matches 1 or more times. For example, Sa+m matches Sam,
         Saam, Saaam and so on.


  Setting more Options

  The Notepad2.reg file contains additional program settings that must
  be modified directly in the registry. These settings include options
  to customize the toolbar bitmaps and texts. Inspect Notepad2.reg to
  find more explanations.


  Command Line Parameters

  Notepad2.exe [file]
               [/n] [/u] [/i]
               [/p x,y,cx,cy[,max]]

    file: File to open, can be relative pathname, or shell link.
    /n:   Always open a new Notepad2 window, even if the "reuse-window"
          option is on.
    /u:   Remove the registry entries created by Notepad2.
    /i:   Start as tray icon.
    /p:   Set window position to x,y with size cx,cy, optional value
          max set to nonzero to maximize window.


  Limitations in Unicode Support

  Full Unicode and UTF-8  support is only available on NT-based Windows
  (NT/2k/XP). Unicode character search is currently not possible.
  However, clipboard operations have full Unicode support.


Source Code

  Notepad2 is based on the Scintilla source code editing component:
  http://www.scintilla.org

  The full Notepad2 source code can be found at:
  http://www.flos-freeware.ch


Copyright

  Notepad2 is FREEWARE and may be used and distributed freely. Please
  do not charge any distribution or download fees for this program,
  except for the cost of the distribution medium. The use of the
  software is AT YOUR OWN RISK.

  If you have comments or questions, please drop me a note:
  textview@bluewin.ch

  FEATURE REQUESTS are always welcome, but please keep in mind that
  Notepad2 has been designed as a compact Notepad replacement, so I
  wont promise too much!

  (c) Florian Balmer 2004

###
