📄 notepad2.txt
字号:
- <br>, <hr> and other tags are no longer closed automatically
- File, revert now asks if you really want to revert the file
- "Open with..." and "Favorites" directories can be relative
- Directories can be used as favorites (triggers open dialog)
- Filter for open and save dialogs is always set to *.*
- Location of metapath.exe can be specified in ini-file
- "DefaultDirectory" ini-setting (see FAQ on my website)
- "DefaultExtension" ini-setting (see FAQ on my website)
- Select print color mode (defaults to color on white)
- Don't print separator line if header or footer omitted
- Added proper support for multiple monitor systems
- Allow multiple window position settings for different screen sizes
- Option to use a sticky window position
- New command line switches to select syntax schemes: /s, /t, /h, /x
- Added Apache Config Files syntax highlighting
- Added Perl POD verbatim style
- Updated PHP keywords to PHP5
- Updated SQL keywords
- Updated CSS syntax highlighting to CSS2
- Removed NSIS syntax highlighting
- Removed ActionScript syntax highlighting
- Removed "Bookmarks" feature
- Removed "Delete Line Left/Right" and "Transpose Line" commands
- Removed code page trace message
- Fixed several bugs that caused Notepad2 to crash when saving files
- Fixed crash when printing to offline printer
- Fixed bug with transparency level setting
New in Version 1.0.12 (released June 25, 2004)
- Notepad2 source code now released under the GNU GPL
- "Read Only" option handles file attributes
- Enhanced find and replace dialogs with new options
- Optionally auto close HTML/XML tags (Ctrl+Shift+H)
- Improved tabify/untabify selection functions
- New hotkey to select XML scheme (Shift+F11)
New in Version 1.0.11 (released May 30, 2004)
- Simple favorites management based on file shortcuts (Alt+I)
- Optional toolbar buttons for favorites management
- Improved undo / redo handling of auto indent text
- Better cursor behaviour for line editing commands
- Clipboard text is converted according to font character set
- Auto-select ANSI code page option (File, Encoding, Default...)
- Windows system text and background colors used by default
- Enabled some new comment styles for C/C++ related languages
New in Version 1.0.10 (released May 21, 2004)
- Option to select a default syntax scheme (F12)
- Find, replace, upper- and lowercase handle umlauts and accents
- Paste board feature (cmd switch /b) to collect clipboard entries
- Text is copied to clipboard in Unicode format (Windows NT/2k/XP)
- Reload current file without encoding detection (F8)
- Updated CSS properties to version 2.1
- "Reuse Window" disabled by default to allow multiple windows
New in Version 1.0.09 (released May 13, 2004)
- Convert tabs to spaces and vice versa (Ctrl+Shift+S/T)
- Insert time/date (short form/long form) (Ctrl+F5, Ctrl+Shift+F5)
- Insert filename/path and filename (Ctrl+F9, Ctrl+Shift+F9)
- Added missing copy line command (Ctrl+Shift+C)
- Enabled script selection in font dialogs
New in Version 1.0.08 (released May 08, 2004)
- Find and replace dialogs accept Unicode input (Windows NT/2k/XP)
- Warning message for large files (customizable using Notepad2.reg)
- Default file extension is "txt" (customizable using Notepad2.reg)
- New command line parameters: /c, /g, /?
- Fixed writing of hidden and system files (Windows XP/2k)
- Fixed some handling problems with relative pathnames
- Notepad2.txt outlines how to import and export Notepad2 settings
New in Version 1.0.07 (released May 03, 2004)
- Select default encoding for new files
- Select default line endings for new files
- Right clicking moves cursor if no selection
- Zooming with Ctrl+Mousewheel recalculates line number width
New in Version 1.0.06 (released April 30, 2004)
- Word wrap settings, show word wrap symbols (Ctrl+Shift+0)
- Move line up/down (Ctrl+Shift+Up/Down)
- Remove blank lines (Alt+R)
- Bookmarks for file navigation (Ctrl+F2)
- Minimal print header and footer customization
- Remapped some keyboard shortcuts (see Notepad2.txt)
- Added a few comments to Notepad2.txt
New in Version 1.0.05 (released April 26, 2004)
- Support for XML, ActionScript 2.0, Python, NSIS Script
- Fully customizable second default style (Shift+F12)
- Find matching brace (Ctrl+B)
- Select to matching brace (Ctrl+Shift+B)
- Goto column (Ctrl+J)
- Optionally change background color of long lines
- Transparent mode on Windows 2k and above (Alt+U)
- Fixed line endings detection for Unicode files
New in Version 1.0.04 (released April 20, 2004)
- Fixed loading of UTF-8 files with signature
New in Version 1.0.03 (released April 19,2004)
- Toggle word wrap toolbar button
- New block command: strip first character (Alt+Z)
- Strip trailing blanks uses selection, if any
New in Version 1.0.02 (released April 17, 2004)
- Reload current file (F5)
- Revised printing functionality
- Zooming recalculates line number width
New in Version 1.0.01 (released April 15, 2004)
- Initial public release
Installation and Uninstallation
Just put a copy of Notepad2.exe and Notepad2.ini to any directory on
your computer. To uninstall Notepad2, simply delete these two files.
Notepad2 does not create any registry entries on your computer.
Keyboard Shortcuts for Notepad2
File
Ctrl+N New file.
Ctrl+F4 Close file, identical with Ctrl+N.
Ctrl+O Open file.
F5 Reload file.
F8 Reload file without encoding detection.
Ctrl+F8 Reload file with Unicode detection toggled.
Shift+F8 Reload file with ANSI/UTF-8 defaults toggled.
Alt+F8 Reload file without file variable parsing.
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+R Run command.
Favorites
Alt+I Open favorites.
Alt+K Add to favorites.
F9 Manage favorites.
Edit
Ctrl+Z Undo.
Ctrl+Shift+Z Redo.
Alt+Backspace Undo.
Ctrl+Y Redo.
Ctrl+Shift+Y Undo.
Ctrl+X Cut.
Shift+Del Cut.
Ctrl+C Copy.
Alt+C Copy all.
Ctrl+E Copy add.
Ctrl+V Paste.
Shift+Ins Paste.
Ctrl+K Swap.
Del Clear.
Ctrl+A Select all.
Alt+Shift+Arrows Rectangular selection.
Ctrl+Enter New line with toggled auto indent option.
Ctrl+PgUp/PgDn Goto previous/next block.
Ctrl+Shift+PgUp/PgDn Select to previous/next block.
Char, Word
Ctrl+Space Select word (or line).
Ctrl+Backspace Delete word before/left.
Ctrl+Del Delete word after/right.
Ctrl+Tab Insert tabulator.
Lines
Ctrl+Shift+Space Select line.
Ctrl+Shift+Up Move line (block) up.
Ctrl+Shift+Down Move line (block) down.
Ctrl+D Duplicate line.
Ctrl+Shift+X Cut line.
Ctrl+Shift+C Copy line.
Ctrl+Shift+D Delete line.
Ctrl+Shift+Backspace Delete line left.
Ctrl+Shift+Del Delete line right.
Ctrl+Shift+W Column wrap.
Ctrl+I Split lines.
Ctrl+J Join lines.
Ctrl+Shift+J Join paragraphs.
Block
Tab Indent selected block.
Shift+Tab Unindent selected block.
Alt+Q Enclose selection.
Alt+D Duplicate selection.
Alt+Z Strip first character.
Alt+U Strip last character.
Alt+W Strip trailing blanks.
Alt+P Compress whitespace.
Alt+R Remove blank lines.
Alt+M Modify lines.
Alt+O Sort lines.
Convert
Ctrl+Shift+U Make uppercase.
Ctrl+U Make lowercase.
Ctrl+Alt+I Invert case.
Ctrl+Alt+T Title case.
Ctrl+Alt+S Sentence case.
Ctrl+Shift+S Convert tabs to spaces.
Ctrl+Shift+T Convert spaces to tabs.
Ctrl+Shift+A Convert to ANSI.
Ctrl+Shift+O Convert to OEM.
Insert
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -