Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 836 lines (672 sloc) 35.18 kb
eba3580 @djs Initial commit - Notepad2 4.1.24
authored
1
2 =======================================================================
3 = =
4 = =
5 = Notepad2 - light-weight Scintilla-based text editor for Windows =
6 = =
7 = =
8 = Notepad2 4.1.24 =
9 = (c) Florian Balmer 2004-2010 =
10 = http://www.flos-freeware.ch =
11 = =
12 = =
13 =======================================================================
14
15
16 Description
17
18 Notepad2 is a light-weight, free and open source Notepad-like text
19 editor with syntax highlighting for a few commonly used languages.
20 It's based on the Scintilla source code editing component and works
21 on NT-based versions of Windows.
22
23
24 Features
25
26 - Syntax highlighting: HTML, XML, PHP, ASP (JS, VBS), CSS,
27 JavaScript, VBScript, C/C++, C#, Resource Script, Makefiles, Java,
28 Visual Basic, Pascal, Assembly, SQL, Perl, Python, Configuration
29 Files, Apache Config Files, PowerShell, Batch Files, Diff Files
30 - Drag & drop text editing inside and outside Notepad2
31 - Basic regular expression search and replace
32 - Useful word, line and block editing shortcuts
33 - Rectangular selection (Alt+Mouse)
34 - Brace matching, auto indent, long line marker, zoom functions
35 - Support for Unicode, UTF-8, Unix and Mac text files
36 - Open shell links
37 - Mostly adjustable
38
39
40 New in Version 4.1.24 (released March 02, 2010)
41
42 - /z command line switch (support registry-based Notepad replacement)
43 - /u command line switch (launch Notepad2 with elevated privileges)
44 - Fixed some /p command line switch options not working properly
45 - Display more informative error messages for file operation failures
46 - Hotkey to copy pathname of current file to clipboard (Shift+F9)
47 - Window title indicator when running with elevated privileges
48 - Ini-options to control system MRU, taskbar and jump list behaviour
49 - Enhanced portability for directory settings inside My Documents
50 - Configure whether tab key should reformat indenting whitespace
51 - Revised word wrap settings dialog and added more detailed options
52 - New style setting to control font smoothing (see FAQ on my website)
53 - New style setting to control size of visible white space dots
54 - Improved cursor visibility on any background color
55 - Added new "HTML Element Text" and "XML Element Text" styles
56 - Improved default style utilization for HTML-embedded schemes
57 - Updated PowerShell keywords to version 2.0
58 - Added missing keywords to VBScript scheme
59 - Fixed deleted files reappearing in MRU lists
60 - Updated Scintilla library to 2.03
61
62
63 New in Version 4.0.23 (released October 06, 2009)
64
65 - Added PowerShell Script syntax highlighting
66 - Added missing keywords to JavaScript schemes
67 - Further simplified syntax schemes by consolidating certain styles
68 - More accurate "mode" file variable matching with tightened rules
69 - Avoid repetitive zone checks when running Notepad2.exe internally
70 - Fixed choice of encoding conversion prompt being ignored
71 - Fixed recent file dialog hang with inaccessible UNC paths
72 - Internal changes to allow complete internationalization (future)
73
74
75 New in Version 4.0.22 (released July 28, 2009)
76
77 - Support for numerous Windows, DOS, ISO, Mac and EBCDIC encodings
78 - Enhanced encoding selection dialog (F9)
79 - "Recode" (F8) to reload file with different source encoding
80 - "Recode file as system default ANSI" (Ctrl+Shift+A)
81 - "Recode file as system default OEM" (Ctrl+Shift+O)
82 - "Recode 7-bit ASCII file as UTF-8" (Shift+F8)
83 - Option to load 7-bit ASCII files as UTF-8 (File, Encoding, Default)
84 - Option to disable encoding tag parsing (File, Encoding, Default)
85 - Issue warning if data can't be converted to selected file encoding
86 - Fix loading of (invalid) Unicode files with embedded null bytes
87 - /e command line switch to specify file source encoding
88 - "Insert Encoding Identifier" (Ctrl+F8)
89 - "Tabify Indent" (Ctrl+Alt+T) and "Untabify Indent" (Ctrl+Alt+S)
90 - "Increase Number" (Ctrl+Alt++) and "Decrease Number" (Ctrl+Alt+-)
91 - Option to auto-reload unmodified files changed by external programs
92 - Hotkey (Alt+F5) and auto-reset option for file change notification
93 - Manual and automatic reloading of files keeps current encoding
94 - Scroll find matches and jump positions away from bottom border
95 - Enabled new Scintilla indent modes for wrapped lines
96 - Option to set any characters as boundaries for word wrap
97 - Allow bigger tab-/indent-widths (256) and long line limit (4096)
98 - Allow setting extra line spacing (through "Default Text" scheme)
99 - Dropping directories displays file open dialog
100 - Consolidated styles to simplify configuration (patch by Kai Liu)
101 - Ensure cursor visibility on any background color (patch by Kai Liu)
102 - Enabled improved Scintilla Pascal lexing module (patch by Kai Liu)
103 - Updated HTML keywords to version 5.0
104 - Remapped "Manage Favorites" hotkey to Alt+F9
105 - Remapped "Invert Case" hotkey to Ctrl+Alt+U
106 - Remapped "Title Case" hotkey to Ctrl+Alt+I
107 - Remapped "Sentence Case" hotkey to Ctrl+Alt+O
108 - Fixed various minor bugs
109 - Notepad2.exe program file no longer compressed with UPX
110 - Updated Scintilla library to 1.79
111
112
113 New in Version 3.1.21 (released June 21, 2009)
114
115 - No ini-file is created by default (save settings with F7, once)
116 - "Move Up" and "Move Down" keep selection and work with blocks
117 - Set cursor to start (Ctrl+,) or end of text selection (Ctrl+.)
118 - "URL Encode" (Ctrl+Shift+E) and "URL Decode" (Ctrl+Shift+R)
119 - "Escape" (Ctrl+Alt+E) and "Unescape C Special Chars" (Ctrl+Alt+U)
120 - "Sort Lines" with several options (Alt+O)
121 - "Pad With Spaces" block command (Alt+B)
122 - "Replace Next" assigned to hotkey (F4)
123 - Auto strip trailing blanks option (File, Line Endings, Default)
124 - Remapped "Transparent Mode" hotkey to Ctrl+0
125 - Simple XML detection for files without extensions
126 - Simple language detection for cgi and fcgi files
127 - Reload file without file variable parsing (Alt+F8)
128 - Enabled better styling of C/C++ preprocessor elements
129 - Recent files and search strings merged with existing items on save
130 - Paste board mode ignores immediately repeated copy actions
131 - Command line switch + to accept multiple files (quoted spaces)
132 - Command line switch - to accept single file argument (no quotes)
133 - Option to set default command line mode (single or multiple files)
134 - Command line switches to set file encoding and line ending mode
135 - More /p command line switches (see "Command Line Switches" below)
136 - /r command line switch to reuse existing window
137 - /ns and /rs command line switches to enable single file instance
138 - Renamed /t command line switch to /d (select default text scheme)
139 - /t command line switch to set window title
140 - Set window title to excerpt of current text selection (Ctrl+9)
141 - Save relative pathnames for recent files (ini-option to disable)
142 - Save relative directories for "Open with..." and "Favorites"
143 - "Open with..." no longer sends short pathnames to external programs
144 - External commands use current file directory as working directory
145 - Remember "Save Copy" location until exit
146 - Require only single click to restore window from tray icon
147 - "Reuse Window" option timeout improves opening multiple files
148 - Replaced "Find Up" option with "Find Previous" button in dialogs
149 - "Find Wrap" notification dialogs provide "Cancel" button
150 - Option to suppress replace count notifications
151 - Find and replace dialogs provide new system menu commands
152 - Dialog boxes use correct theme fonts on Vista
153 - Patches to default styles, file types and auto-detection by Kai Liu
154 - Incorporated base x64 source code compatibility patch
155 - Fixed some problems with relative ini-file locations
156 - Fixed some minor file variable problems
157 - Fixed some encoding detection issues
158 - Fixed some find and replace problems
159 - Fixed several memory leaks when saving files
160 - Fixed several memory leaks for editing operations
161 - Reduced size of Notepad2.exe program file
162
163
164 New in Version 3.0.20 (released October 31, 2008)
165
166 - Notepad2 converted to a native Win32 Unicode application
167 - "Copy Add" (Ctrl+E) to append selected text to clipboard
168 - "Unwrap Paragraphs" (Ctrl+Shift+J)
169 - "Strip Last Character" (Alt+U)
170 - "Select Line", can be used repeatedly (Ctrl+Shift+Space)
171 - Remapped "Delete Line" hotkey to Ctrl+Shift+D
172 - Remapped "Transparent Mode" hotkey to Alt+O
173 - Allow easy toggling of find and replace dialogs (Ctrl+F, Ctrl+H)
174 - Save and restore find and replace dialog positions (Ctrl+O, Ctrl+P)
175 - Files with UTF-8 Signature always loaded in UTF-8 mode
176 - Simple HTML detection for files without extensions
177 - Support basic Emacs file variables (see FAQ on my website)
178 - Update timestamps (Shift+F5) (see FAQ on my website)
179 - %APPDATA% searched for existing ini-file
180 - Modest enhancements to scheme customization dialog
181 - Improved performance for saving settings to ini-file
182 - Less restrictive handling of quoted filenames on command line
183 - Keep scrolling positions when reloading changed files
184 - Modified /s command line switch to work with extensions, not ids
185 - /m command line switch to match specified text
186 - /q command line switch to force creation of new files
187 - Pass command line switches to existing windows: /s /t /h /x /g /q
188 - Proceed to next match after choosing "replace" in replace dialog
189 - Fixed some more find and replace problems
190 - Improved visual appearance on Windows Vista
191 - Updated Scintilla library to 1.77
192
193
194 New in Version 2.1.19 (released April 10, 2008)
195
196 - "Line Comment" (Ctrl+Q) and "Stream Comment" (Ctrl+Shift+Q)
197 - "Title Case" (Ctrl+Alt+T) and "Sentence Case" (Ctrl+Alt+S)
198 - "Compress Whitespace" (Alt+P) command reduces spaces and tabs
199 - Original Notepad .LOG feature
200 - /f command line switch to set ini-file (/f0 to omit ini-file)
201 - /p command line switch trumps sticky window position
202 - /p0 uses system default settings for new window position
203 - Move new off-screen windows prior to resizing
204 - Option to skip Unicode text detection (File, Encoding, Default)
205 - Reload file with different default encoding (Ctrl+F8, Shift+F8)
206 - Unsaved documents with just whitespace considered empty
207 - Improved handling of relative path names
208 - File dialog filters can be specified in the Notepad2 ini-file
209 - Type of indent guides can be specified in the Notepad2 ini-file
210 - Track width of displayed text to adjust horizontal scroll range
211 - Selected find results are better scrolled into view
212 - Restore scrolling positions on revert
213 - Ctrl+Back and Ctrl+Del stop at newlines, as usual on Windows
214 - Ctrl+Space doesn't select initial line indentation whitespace
215 - Ctrl+Tab hotkey modified to always insert a tabulator
216 - Increase (Alt++) and decrease (Alt+-) long lines limit
217 - Display long lines limit in statusbar if visual marker enabled
218 - Import and export settings from customization dialog (Alt+I, Alt+X)
219 - Added "Regular Expression" style to JavaScript and Java schemes
220 - Updated filename extension lists with more default types
221 - Updated Python keywords to version 3.0
222 - Simplified SQL keywords (merged from MySQL and SQLite)
223 - Improved compatibility with Windows Vista
224 - Improved visual appearance of toolbar button images
225 - Print margins can be set to "0"
226 - Fixed several bugs with regular expression find and replace
227 - Fixed bug with hanging of recent files dialog
228 - Fixed bug with charset not being saved properly
229 - Fixed bug with display of text selection at the beginning of lines
230 - Fixed bug with cursor movement at start and end of wrapped lines
231 - Updated Scintilla library to 1.76
232
233
234 New in Version 2.0.18 (released July 26, 2007)
235
236 - "Select To" command in find dialog allows expanding the selection
237 - "Select To Next" (F2) and "Select To Previous" (Shift+F2)
238 - "Save Find Text" (Alt+F3) for later use with F2, F3, etc.
239 - "Swap" (Ctrl+K) to exchange selected text with clipboard contents
240 - Notepad2.exe program file is compressed with UPX by default
241
242
243 New in Version 2.0.17 (released July 24, 2007)
244
245 - Option to allow only one Notepad2 window for each file
246 - Option to display filename in window title in various forms
247 - Hotkey Shift+Esc to save file and exit Notepad2
248 - Indent size can be specified separately from tab width
249 - Indent guides are highlighted along with matching braces
250 - Caret can be displayed as a block (specify "block" for caret width)
251 - Find and replace dialogs can be toggled from the toolbar
252 - Tray icon is restored when Explorer is restarted
253 - Fixed bug with brace matching
254 - Fixed bug with replacement of ^c cutting the last character
255 - Fixed bug with regular expression search causing infinite loop
256 - Updated Scintilla library to 1.74
257
258
259 New in Version 2.0.16 (released May 14, 2007)
260
261 - The msvcr70.dll runtime library is no longer required
262 - "Enclose Selection" helper tool (Alt+Q)
263 - Single line files are opened with default line ending mode
264 - Remapped hotkey Ctrl+Shift+Z from "Undo" to "Redo"
265 - Remapped hotkey Ctrl+Shift+Y from "Redo" to "Undo"
266 - Fixed bug: problem with MRU lists causing random crashes
267 - Fixed bug: moving lines up/down not working properly
268 - Fixed bug: window settings overwritten on new screen resolution
269
270
271 New in Version 2.0.15 (released April 07, 2007)
272
273 - BSD License for Notepad2 and source code (see License.txt)
274 - "Insert HTML/XML Tag" helper tool (Alt+X)
275 - Regex support for \d, \D, \s, \S, \w, \W, \xHH
276 - Text selection can have "eolfilled" style (on by default)
277 - Caret blink rate is set to system default on startup
278 - Support for opening makefiles without filename extension
279 - Dropped Windows 9x support
280 - Requires msvcr70.dll runtime library
281 - Updated Scintilla library to 1.73
282
283
284 New in Version 2.0.14 (not released to the public)
285
286 - Find and replace dialogs: Don't wrap around on find option
287 - Use the clipboard contents as the replacement text (enter ^c)
288 - Date and time formats can be changed using template strings
289 - "FileCheckInterval" ini-setting (see FAQ on my website)
290
291
292 New in Version 2.0.13 (not released to the public)
293
294 - Settings are stored in ini-file
295 - File change notification (optional)
296 - Find and replace dialogs are now modeless
297 - Multiline find and replace through transform backslashes function
298 - Find next / previous word / selected text (Ctrl+F3, Ctrl+Shift+F3)
299 - Find and replace dialogs: exclusive options deactivate each other
300 - Find wrap notification message can be deactivated
301 - Preview function in scheme customization dialog
302 - Quickly change the default font (F2)
303 - Script information is saved along with font settings
304 - Selection and current line background support transparency
305 - Open ASCII files as UTF-8 if the default setting is UTF-8
306 - Open empty files with default encoding and line ending settings
307 - Don't prompt to save modified empty untitled documents
308 - Line endings are always converted to current setting on paste
309 - Ensure consistent line endings option (File, Line Endings, Default)
310 - NTFS streams are preserved when saving files
311 - Switching encoding performs proper text conversion to new encoding
312 - Encoding conversion notification message can be deactivated
313 - Encoding selection dialog displays info about system ANSI code page
314 - Downgraded ANSI code page support to system default only
315 - Big file warning message can be deactivated
316 - "Wrap Text To Column" command (Ctrl+Shift+W)
317 - "Modify Lines" command to prefix and append text to lines (Alt+M)
318 - "Duplicate Selection" command (Alt+D)
319 - "Invert Case" command (Ctrl+Shift+E)
320 - "Clear clipboard" command (in the "Edit" menu)
321 - Force indent and unindent (Ctrl+Tab, Ctrl+Shift+Tab)
322 - Highlight current line (Ctrl+Shift+I)
323 - Additional hotkey for "New File": Ctrl+F4
324 - Mapped Ctrl+Shift+Y/Z to Ctrl+Y/Z
325 - New hotkey for "Tab Settings" (Ctrl+T)
326 - Changed hotkey for "Join Lines" (Ctrl+J)
327 - Rearranged some items in the "View" and "Settings" menus
328 - "Copy" tool button works as "Copy All" when no text selected
329 - "Clear" tool button works as "Clear All" when no text selected
330 - Ctrl+Space: select line if word is already selected
331 - <br>, <hr> and other tags are no longer closed automatically
332 - File, revert now asks if you really want to revert the file
333 - "Open with..." and "Favorites" directories can be relative
334 - Directories can be used as favorites (triggers open dialog)
335 - Filter for open and save dialogs is always set to *.*
336 - Location of metapath.exe can be specified in ini-file
337 - "DefaultDirectory" ini-setting (see FAQ on my website)
338 - "DefaultExtension" ini-setting (see FAQ on my website)
339 - Select print color mode (defaults to color on white)
340 - Don't print separator line if header or footer omitted
341 - Added proper support for multiple monitor systems
342 - Allow multiple window position settings for different screen sizes
343 - Option to use a sticky window position
344 - New command line switches to select syntax schemes: /s, /t, /h, /x
345 - Added Apache Config Files syntax highlighting
346 - Added Perl POD verbatim style
347 - Updated PHP keywords to PHP5
348 - Updated SQL keywords
349 - Updated CSS syntax highlighting to CSS2
350 - Removed NSIS syntax highlighting
351 - Removed ActionScript syntax highlighting
352 - Removed "Bookmarks" feature
353 - Removed "Delete Line Left/Right" and "Transpose Line" commands
354 - Removed code page trace message
355 - Fixed several bugs that caused Notepad2 to crash when saving files
356 - Fixed crash when printing to offline printer
357 - Fixed bug with transparency level setting
358
359
360 New in Version 1.0.12 (released June 25, 2004)
361
362 - Notepad2 source code now released under the GNU GPL
363 - "Read Only" option handles file attributes
364 - Enhanced find and replace dialogs with new options
365 - Optionally auto close HTML/XML tags (Ctrl+Shift+H)
366 - Improved tabify/untabify selection functions
367 - New hotkey to select XML scheme (Shift+F11)
368
369
370 New in Version 1.0.11 (released May 30, 2004)
371
372 - Simple favorites management based on file shortcuts (Alt+I)
373 - Optional toolbar buttons for favorites management
374 - Improved undo / redo handling of auto indent text
375 - Better cursor behaviour for line editing commands
376 - Clipboard text is converted according to font character set
377 - Auto-select ANSI code page option (File, Encoding, Default...)
378 - Windows system text and background colors used by default
379 - Enabled some new comment styles for C/C++ related languages
380
381
382 New in Version 1.0.10 (released May 21, 2004)
383
384 - Option to select a default syntax scheme (F12)
385 - Find, replace, upper- and lowercase handle umlauts and accents
386 - Paste board feature (cmd switch /b) to collect clipboard entries
387 - Text is copied to clipboard in Unicode format (Windows NT/2k/XP)
388 - Reload current file without encoding detection (F8)
389 - Updated CSS properties to version 2.1
390 - "Reuse Window" disabled by default to allow multiple windows
391
392
393 New in Version 1.0.09 (released May 13, 2004)
394
395 - Convert tabs to spaces and vice versa (Ctrl+Shift+S/T)
396 - Insert time/date (short form/long form) (Ctrl+F5, Ctrl+Shift+F5)
397 - Insert filename/path and filename (Ctrl+F9, Ctrl+Shift+F9)
398 - Added missing copy line command (Ctrl+Shift+C)
399 - Enabled script selection in font dialogs
400
401
402 New in Version 1.0.08 (released May 08, 2004)
403
404 - Find and replace dialogs accept Unicode input (Windows NT/2k/XP)
405 - Warning message for large files (customizable using Notepad2.reg)
406 - Default file extension is "txt" (customizable using Notepad2.reg)
407 - New command line parameters: /c, /g, /?
408 - Fixed writing of hidden and system files (Windows XP/2k)
409 - Fixed some handling problems with relative pathnames
410 - Notepad2.txt outlines how to import and export Notepad2 settings
411
412
413 New in Version 1.0.07 (released May 03, 2004)
414
415 - Select default encoding for new files
416 - Select default line endings for new files
417 - Right clicking moves cursor if no selection
418 - Zooming with Ctrl+Mousewheel recalculates line number width
419
420
421 New in Version 1.0.06 (released April 30, 2004)
422
423 - Word wrap settings, show word wrap symbols (Ctrl+Shift+0)
424 - Move line up/down (Ctrl+Shift+Up/Down)
425 - Remove blank lines (Alt+R)
426 - Bookmarks for file navigation (Ctrl+F2)
427 - Minimal print header and footer customization
428 - Remapped some keyboard shortcuts (see Notepad2.txt)
429 - Added a few comments to Notepad2.txt
430
431
432 New in Version 1.0.05 (released April 26, 2004)
433
434 - Support for XML, ActionScript 2.0, Python, NSIS Script
435 - Fully customizable second default style (Shift+F12)
436 - Find matching brace (Ctrl+B)
437 - Select to matching brace (Ctrl+Shift+B)
438 - Goto column (Ctrl+J)
439 - Optionally change background color of long lines
440 - Transparent mode on Windows 2k and above (Alt+U)
441 - Fixed line endings detection for Unicode files
442
443
444 New in Version 1.0.04 (released April 20, 2004)
445
446 - Fixed loading of UTF-8 files with signature
447
448
449 New in Version 1.0.03 (released April 19,2004)
450
451 - Toggle word wrap toolbar button
452 - New block command: strip first character (Alt+Z)
453 - Strip trailing blanks uses selection, if any
454
455
456 New in Version 1.0.02 (released April 17, 2004)
457
458 - Reload current file (F5)
459 - Revised printing functionality
460 - Zooming recalculates line number width
461
462
463 New in Version 1.0.01 (released April 15, 2004)
464
465 - Initial public release
466
467
468 Installation and Uninstallation
469
470 Just put a copy of Notepad2.exe and Notepad2.ini to any directory on
471 your computer. To uninstall Notepad2, simply delete these two files.
472 Notepad2 does not create any registry entries on your computer.
473
474
475 Keyboard Shortcuts for Notepad2
476
477 File
478
479 Ctrl+N New file.
480 Ctrl+F4 Close file, identical with Ctrl+N.
481 Ctrl+O Open file.
482 F5 Reload file.
483 F8 Recode file.
484 Ctrl+Shift+A Recode file as system default ANSI.
485 Ctrl+Shift+O Recode file as system default OEM.
486 Shift+F8 Recode 7-bit ASCII file as UTF-8.
487 Alt+F8 Reload file without file variable parsing.
488 Ctrl+S Save file.
489 F6 Save file as.
490 Ctrl+F6 Save file copy.
491 Ctrl+P Print file.
492 Alt+H Open recent file.
493
494 Tools
495
496 Alt+N Open document in new window.
497 Alt+0 Open new empty window.
498 Ctrl+M Run metapath file browser plugin.
499 Ctrl+L Launch document.
500 Alt+L Open with.
501 Ctrl+R Run command.
502
503 Favorites
504
505 Alt+I Open favorites.
506 Alt+K Add to favorites.
507 Alt+F9 Manage favorites.
508
509 Edit
510
511 Ctrl+Z Undo.
512 Ctrl+Shift+Z Redo.
513 Alt+Backspace Undo.
514 Ctrl+Y Redo.
515 Ctrl+Shift+Y Undo.
516 Ctrl+X Cut.
517 Shift+Del Cut.
518 Ctrl+C Copy.
519 Alt+C Copy all.
520 Ctrl+E Copy add.
521 Ctrl+V Paste.
522 Shift+Ins Paste.
523 Ctrl+K Swap.
524 Del Clear.
525 Ctrl+A Select all.
526 Alt+Shift+Arrows Rectangular selection.
527 Ctrl+Enter New line with toggled auto indent option.
528 Ctrl+PgUp/PgDn Goto previous/next block.
529 Ctrl+Shift+PgUp/PgDn Select to previous/next block.
530
531 Char, Word
532
533 Ctrl+Space Select word (or line).
534 Ctrl+Backspace Delete word before/left.
535 Ctrl+Del Delete word after/right.
536 Ctrl+Tab Insert tabulator.
537
538 Lines
539
540 Ctrl+Shift+Space Select line.
541 Ctrl+Shift+Up Move line (block) up.
542 Ctrl+Shift+Down Move line (block) down.
543 Ctrl+D Duplicate line.
544 Ctrl+Shift+X Cut line.
545 Ctrl+Shift+C Copy line.
546 Ctrl+Shift+D Delete line.
547 Ctrl+Shift+Backspace Delete line left.
548 Ctrl+Shift+Del Delete line right.
549 Ctrl+Shift+W Column wrap.
550 Ctrl+I Split lines.
551 Ctrl+J Join lines.
552 Ctrl+Shift+J Join paragraphs.
553
554 Block
555
556 Tab Indent selected block.
557 Shift+Tab Unindent selected block.
558 Alt+Q Enclose selection.
559 Alt+D Duplicate selection.
560 Alt+B Pad with spaces.
561 Alt+Z Strip first character.
562 Alt+U Strip last character.
563 Alt+W Strip trailing blanks.
564 Alt+P Compress whitespace.
565 Alt+R Remove blank lines.
566 Alt+M Modify lines.
567 Alt+O Sort lines.
568
569 Convert
570
571 Ctrl+Shift+U Make uppercase.
572 Ctrl+U Make lowercase.
573 Ctrl+Alt+U Invert case.
574 Ctrl+Alt+I Title case.
575 Ctrl+Alt+O Sentence case.
576 Ctrl+Shift+S Convert tabs to spaces.
577 Ctrl+Shift+T Convert spaces to tabs.
578 Ctrl+Alt+S Convert indenting tabs to spaces.
579 Ctrl+Alt+T Convert indenting spaces to tabs.
580
581 Insert
582
583 Alt+X HTML/XML tag.
584 Ctrl+F8 Encoding identifier.
585 Ctrl+F5 Time/date (short form).
586 Ctrl+Shift+F5 Time/date (long form).
587 Ctrl+F9 Filename.
588 Ctrl+Shift+F9 Path and filename.
589
590 Special
591
592 Ctrl+Q Block comment (toggle).
593 Ctrl+Shift+Q Stream comment.
594 Ctrl+Shift+E URL Encode.
595 Ctrl+Shift+R URL Decode.
596 Ctrl+Alt+E Escape C Special Chars.
597 Ctrl+Alt+U Unescape C Special Chars.
598 Ctrl+B Find matching brace.
599 Ctrl+Shift+B Select to matching brace.
600 Ctrl+1 Enclose within ''.
601 Ctrl+2 Enclose within "".
602 Ctrl+3 Enclose within ().
603 Ctrl+4 Enclose within [].
604 Ctrl+5 Enclose within {}.
605 Ctrl+6 Enclose within ``.
606 Shift+F5 Update timestamps.
607 Ctrl+Alt++ Increase number.
608 Ctrl+Alt+- Decrease number.
609 Ctrl+, Jump to selection start.
610 Ctrl+. Jump to selection end.
611
612 Find, Replace
613
614 Ctrl+F Find.
615 Alt+F3 Save find text.
616 F3 Find next.
617 Shift+F3 Find previous.
618 Ctrl+F3 Find next word or selection.
619 Ctrl+Shift+F3 Find previous word or selection.
620 F2 Expand selection to next match.
621 Shift+F2 Expand selection to previous match.
622 Ctrl+H Replace.
623 F4 Replace next.
624 Ctrl+G Jump to line.
625
626 Syntax scheme, Font
627
628 F12 Select syntax scheme.
629 Shift+F12 Select 2nd default syntax scheme.
630 Ctrl+F12 Customize syntax schemes.
631 Alt+F12 Select default font.
632 F11 Select default text syntax scheme.
633 Ctrl+F11 Select web source code syntax scheme.
634 Shift+F11 Select XML document syntax scheme.
635
636 View
637
638 Ctrl+W Toggle word wrap.
639 Ctrl+Shift+L Show long line marker.
640 Ctrl+Shift+G Show indentation guides.
641 Ctrl+Shift+N Show line numbers.
642 Ctrl+Shift+M Show selection margin.
643 Ctrl+Shift+8 Show whitespace.
644 Ctrl+Shift+9 Show line endings.
645 Ctrl+Shift+0 Show wrap symbols.
646 Ctrl+Shift+V Toggle visual brace matching.
647 Ctrl+Shift+I Highlight current line.
648
649 Zoom
650
651 Ctrl++ Zoom in.
652 Ctrl+- Zoom out.
653 Ctrl+/ Reset zoom.
654
655 Settings
656
657 Ctrl+T Tab settings.
658 Alt++ Increase limit for long lines.
659 Alt+- Decrease limit for long lines.
660 Ctrl+Shift+H Toggle auto close HTML/XML.
661 Alt+T Always on top.
662 Ctrl+0 Transparent mode.
663 Alt+F5 File change notification settings.
664 Ctrl+9 Display text excerpt in title.
665 F7 Save settings now.
666 Ctrl+F7 Jump to ini-file.
667
668 Misc.
669
670 Shift+F9 Copy pathname to clipboard.
671 Esc Optionally minimize or exit Notepad2.
672 Shift+Esc Save file and exit Notepad2.
673 F1 Display version info.
674
675
676 Regular Expression Syntax
677
678 Note: the Scintilla source code editing component supports only a
679 basic subset of regular expression syntax, and searches are limited
680 to single lines.
681
682 . Matches any character
683
684 \( This marks the start of a region for tagging a match.
685
686 \) This marks the end of a tagged region.
687
688 \n Where n is 1 through 9 refers to the first through ninth
689 tagged region when replacing. For example, if the search
690 string was Fred\([1-9]\)XXX and the replace string was
691 Sam\1YYY, when applied to Fred2XXX this would generate
692 Sam2YYY.
693
694 \< This matches the start of a word.
695
696 \> This matches the end of a word.
697
698 \x This allows you to use a character x that would otherwise
699 have a special meaning. For example, \[ would be interpreted
700 as [ and not as the start of a character set.
701
702 [...] This indicates a set of characters, for example, [abc] means
703 any of the characters a, b or c. You can also use ranges, for
704 example [a-z] for any lower case character.
705
706 [^...] The complement of the characters in the set. For example,
707 [^A-Za-z] means any character except an alphabetic character.
708
709 ^ This matches the start of a line (unless used inside a set,
710 see above).
711
712 $ This matches the end of a line.
713
714 * This matches 0 or more times. For example, Sa*m matches Sm,
715 Sam, Saam, Saaam and so on.
716
717 + This matches 1 or more times. For example, Sa+m matches Sam,
718 Saam, Saaam and so on.
719
720 \d Any decimal digit.
721 \D Any character that is not a decimal digit.
722
723 \s Any whitespace character.
724 \S Any character that is not a whitespace character.
725
726 \w Any "word" character.
727 \W Any "non-word" character.
728
729 \xHH Character with hex code HH.
730
731 -----> Examples (don't use quotes)
732 - Quote lines: find "^" replace with "> "
733 - Unquote lines: find "^> " replace with ""
734 - Remove line numbers: find "^[0-9]+" replace with ""
735 - Convert tabs to double spaces: find "\t" replace with " "
736 - Remove NULL bytes: find "\x00" replace with ""
737
738
739 Command Line Switches
740
741 Notepad2.exe [(encoding)] [(line ending mode)] [/e id] [/g ln[,col]]
742 [/m[-][r|b] text] [/q] [/s ext] [/d] [/h] [/x] [/c]
743 [/b] [/n|/ns] [/r|/rs]
744 [/p x,y,cx,cy[,max]|/p0|/ps|/pf,l,t,r,b,m]
745 [/t title] [/i] [/f ini|/f0] [/u] [/z ...] [/?]
746 [+|-] [file] ...
747
748 file File to open, can be a relative pathname, or a shell link.
749 Must be the last argument, no quoted spaces by default.
750 + Accept multiple file arguments (with quoted spaces).
751 - Accept single file argument (without quoted spaces).
752 ... Desired file encoding (can be one of /ansi, /unicode,
753 /unicodebe, /utf8 or /utf8sig).
754 ... Desired line ending mode (either /crlf, /lf, or /cr).
755 /e Specify file source encoding.
756 /g Jump to specified position, /g -1 means end of file.
757 /m Match specified text (/m- last, /mr regex, /mb backslash).
758 /q Force creation of new files without prompt.
759 /s Select syntax scheme associated with specified extension.
760 /d Select default text scheme.
761 /h Select Web Source Code scheme.
762 /x Select XML Document scheme.
763 /c Open a new Notepad2 window and paste the clipboard contents.
764 /b Open a new Notepad2 paste board to collect clipboard entries.
765 /n Always open a new Notepad2 window (/ns single file instance).
766 /r Reuse Notepad2 window (/rs single file instance).
767 /p Set window position to x,y with size cx,cy, optional max set
768 to nonzero to zoom; /p0 system, /ps internal defaults;
769 /p(f)ull,(l)eft,(t)op,(r)ight,(b)ottom,(m)argin.
770 /t Set window title.
771 /i Start as tray icon.
772 /f Specify ini-file; /f0 use no ini-file (don't save settings).
773 /u Launch with elevated privileges.
774 /z Skip next (usable for registry-based Notepad replacement).
775 /? Display a brief summary about command line parameters.
776
777
778 Source Code
779
780 Notepad2 is based on the Scintilla source code editing component:
781 http://www.scintilla.org
782
783 The full Notepad2 source code can be found at:
784 http://www.flos-freeware.ch
785
786
787 More Information and Resources
788
789 For more information on Notepad2 features, how to replace Windows
790 Notepad, and answers to the most frequently asked questions (FAQ),
791 please visit the Notepad2 website:
792 http://www.flos-freeware.ch
793
794
795 Feature Requests
796
797 Thank you very much for the overwhelming feedback about Notepad2!
798 Feature requests are always welcome, but please keep in mind that
799 Notepad2 has been designed as a compact Notepad replacement.
800
801
802 Credits and Special Thanks
803
804 Here I would like to say "THANK YOU" to the developers of the great
805 Scintilla source code editing component [1], which is the core of
806 Notepad2. Without Scintilla, the rich features found in Notepad2
807 wouldn't have been possible!
808
809 [1] http://www.scintilla.org
810
811 Many thanks to everybody for sending me bug reports and useful hints.
812 A special thank goes to Roland Weigelt [2] for his helpful thoughts
813 and comments about Notepad2 features and usability in early develop-
814 ment stages. I'd also like to express my thanks to Timo Kunze [3],
815 to Kai Liu [4] and to Moritz Kroll for sending detailed bug reports
816 and ready-to-use patches.
817
818 [2] http://www.roland-weigelt.de
819 [3] http://www.TimoSoft-Software.de
820 [4] http://code.kliu.org/misc/notepad2/
821
822
823 Copyright
824
825 Notepad2 is FREE SOFTWARE and may be used and distributed freely.
826 Please do not charge any distribution or download fees for this
827 program, except for the cost of the distribution medium. The use of
828 this software is AT YOUR OWN RISK. See License.txt for full details.
829
830 If you have comments or questions, please drop me a note:
831 florian.balmer@gmail.com
832
833 (c) Florian Balmer 2004-2010
834
835 ###
Something went wrong with that request. Please try again.