Notepad2 Changelog

What's new in Notepad2 5.0.26 Beta 4

Oct 29, 2012
  • Fixed selection history (broken since Notepad2 5.0.26-beta3)
  • Auto-detection of indentation settings is disabled by default

New in Notepad2 5.0.26 Beta 3 (Oct 29, 2012)

  • Encoding detection for 8-bit encodings (File, Encoding, Default)
  • Option to auto-detect indentation settings (enabled by default)
  • Large file warning message always displayed for files > 64 MB
  • Refined low memory checking for loading and saving large files
  • Updated Scintilla library to 3.2.3

New in Notepad2 5.0.26 Beta 2 (Sep 30, 2012)

  • Always use UTF-8 as internal encoding (better clipboard usability)
  • Display notification if encoding tag mismatch is detected on save
  • Share MRU lists (files, searches) across all Notepad2 instances
  • Ini-file option to disable shared MRU lists
  • Dialogs making use of MRU lists have options to clear all items
  • New hotkey to toggle between stream and block selection (Ctrl+*)
  • Remapped "Reset Zoom" hotkey to Ctrl+0
  • Remapped "Transparent Mode" hotkey to Ctrl+/
  • Ini-file option to force saving empty files with BOM if applicable
  • Ini-file option to specify offset of new windows (Alt+N, Alt+0)
  • Fixed hang with -u command line switch for non-Administrator user

New in Notepad2 5.0.26 Beta 1 (Sep 8, 2012)

  • Restore selection after undo and redo (options in ini-file)
  • Changed default extension for saved files from none to .txt
  • Open and save dialogs again remember the last used directory
  • File change notification option to display title bar indicator
  • Handle %1 wildcard for external file browser command line
  • Regex backreference \0 represents full match in replacement
  • "Jump to" dialog allows expansion of selection (Shift+Enter)
  • Hotkey Ctrl+Shift+P snaps window to more default positions
  • Command line switch /p sub-option x opens a maximized window
  • Option to display word wrap symbols in line number margin
  • Simplified syntax schemes for Web Source Code, Perl and Python
  • Various other minor updates to syntax schemes and keywords
  • Accept fractional font sizes for syntax styles (i.e. "size:9.25")
  • Added style attribute "semi-bold" for font weight
  • Use Direct2D on Windows Vista and above (options in ini-file)
  • Minor visual updates to program icon and toolbar buttons
  • Fixed bug with font dialog assuming italic attribute by mistake
  • Fixed bug to load UTF-16 LE files with BOM as UTF-16 BE
  • Fixed bug with truncating files on saving if out of disk space
  • Fixed bug with truncating files on saving if low of memory
  • Fixed bug with crash on Windows XP without Service Pack 3
  • Updated Scintilla library to 3.2.2

New in Notepad2 4.2.25 (May 6, 2011)

  • "Align Lines" with several options (Alt+J)
  • "Modify Lines" supports several variables to insert numbers (Alt+M)
  • "Sort Lines" (Alt+O) handles column sort (rectangular selection)
  • "Sort Lines" also handles shuffle, remove duplicates and uniques
  • "Merge Blank Lines" block command (Alt+Y)
  • Use built-in Windows functionality for "Title Case" on Windows 7
  • Convert between characters and hex codes (Ctrl+Alt+X, Ctrl+Alt+C)
  • "Recode file as default encoding" (Ctrl+Shift+F)
  • UTF-16 and UTF-16 BE formats are valid recoding options
  • Enable case-insensitive searching for non-ASCII text
  • Regex quantifier ? to match 0 or 1 times
  • Regex quantifiers * and + available as non-greedy forms *? and +?
  • Regex syntax for tagged regions simplified from \(...\) to (...)
  • Updated HTML5 and CSS3 schemes according to current working drafts
  • Updated Assembly scheme with x64 and SSE4 instructions
  • Several minor updates to syntax schemes and keywords
  • Merged caret styles into a single item and added "noblink" option
  • l and /l- cmd switches to control auto-reloading of modified files
  • Ini-option to specify auto-reload timeout (see FAQ on my website)
  • Support combination of /g and /m command line switches
  • o and /o- cmd switches to control "Always on top" option
  • Copy window position to clipboard as cmd line switch (Ctrl+Shift+K)
  • Move window to default position on current screen (Ctrl+Shift+P)
  • Fixed Notepad .LOG feature (broken since 4.1.24)
  • Launch command uses current file directory as working directory
  • Don't lock any directories except the one containing Notepad2.exe
  • Forward system MRU, taskbar and jump list behaviour to new windows
  • Always show file name extensions (ignore Windows Explorer setting)
  • Check availability of "Consolas" when set as default font
  • Support a few more file variables (see FAQ on my website)
  • Configure whether backspace should reformat indenting whitespace
  • Transform backslashes function understands \u#### hex codes
  • Several F2, F3 and F4 hotkeys work in find and replace dialogs
  • Removed "Select Up" and "Select Down" buttons from find dialog
  • Ini-options to block suppression of notification messages
  • Simplified appearance of word wrap settings dialog
  • Remapped "Unescape C Special Chars" to Ctrl+Alt+R (fix duplicate)
  • Reloading keeps scrolling position more unerringly with word wrap
  • Jumps with /g switch locate position more accurately with word wrap
  • Various internal optimizations and fixes
  • Improved look of disabled toolbar buttons on Windows XP and above
  • Improved overall look of toolbar buttons on Windows 2k
  • Lower frequency of NFS access delays by caching file display names
  • Improved compatibility with Windows 7
  • Released x64 build of Notepad2.exe
  • Updated Scintilla library to 2.24

New in Notepad2 4.1.24 (Mar 20, 2010)

  • /z command line switch (support registry-based Notepad replacement)
  • /u command line switch (launch Notepad2 with elevated privileges)
  • Fixed some /p command line switch options not working properly
  • Display more informative error messages for file operation failures
  • Hotkey to copy pathname of current file to clipboard (Shift+F9)
  • Window title indicator when running with elevated privileges
  • Ini-options to control system MRU, taskbar and jump list behaviour
  • Enhanced portability for directory settings inside My Documents
  • Configure whether tab key should reformat indenting whitespace
  • Revised word wrap settings dialog and added more detailed options
  • New style setting to control font smoothing (see FAQ on my website)
  • New style setting to control size of visible white space dots
  • Improved cursor visibility on any background color
  • Added new "HTML Element Text" and "XML Element Text" styles
  • Improved default style utilization for HTML-embedded schemes
  • Updated PowerShell keywords to version 2.0
  • Added missing keywords to VBScript scheme
  • Fixed deleted files reappearing in MRU lists
  • Updated Scintilla library to 2.03

New in Notepad2 4.1.24 RC3 (Feb 8, 2010)

  • /z command line switch (support registry-based Notepad replacement)
  • /u command line switch (launch Notepad2 with elevated privileges)
  • Fixed some /p command line switch options not working properly
  • Display more informative error messages for file operation failures
  • Hotkey to copy pathname of current file to clipboard (Shift+F9)
  • Window title indicator when running with elevated privileges
  • Ini-options to control system MRU, taskbar and jump list behaviour
  • Revised word wrap settings dialog and added more detailed options
  • New style setting to control font smoothing (see FAQ on my website)
  • New style setting to control size of visible white space dots
  • Added new "HTML Element Text" and "XML Element Text" styles
  • Improved default style utilization for HTML-embedded schemes
  • Updated PowerShell keywords to version 2.0
  • Updated Scintilla library to 2.02

New in Notepad2 4.0.24 RC1 (Dec 16, 2009)

  • /z command line switch (support registry-based Notepad replacement)
  • Fixed some /p command line switch options not working properly
  • New style setting to control font smoothing (see FAQ on my website)
  • Hotkey to copy pathname of current file to clipboard (Shift+F9)
  • Updated Scintilla library to 2.01-cvs $Date 2009/12/16 $

New in Notepad2 4.0.23 (Oct 7, 2009)

  • Added PowerShell Script syntax highlighting
  • Added missing keywords to JavaScript schemes
  • Further simplified syntax schemes by consolidating certain styles
  • More accurate "mode" file variable matching with tightened rules
  • Avoid repetitive zone checks when running Notepad2.exe internally
  • Fixed choice of encoding conversion prompt being ignored
  • Fixed recent file dialog hang with inaccessible UNC paths
  • Internal changes to allow complete internationalization (future)

New in Notepad2 4.0.22 (Jul 28, 2009)

  • Support for numerous Windows, DOS, ISO, Mac and EBCDIC encodings
  • Enhanced encoding selection dialog (F9)
  • "Recode" (F8) to reload file with different source encoding
  • "Recode file as system default ANSI" (Ctrl+Shift+A)
  • "Recode file as system default OEM" (Ctrl+Shift+O)
  • "Recode 7-bit ASCII file as UTF-8" (Shift+F8)
  • Option to load 7-bit ASCII files as UTF-8 (File, Encoding, Default)
  • Option to disable encoding tag parsing (File, Encoding, Default)
  • Issue warning if data can't be converted to selected file encoding
  • Fix loading of (invalid) Unicode files with embedded null bytes
  • /e command line switch to specify file source encoding
  • "Insert Encoding Identifier" (Ctrl+F8)
  • "Tabify Indent" (Ctrl+Alt+T) and "Untabify Indent" (Ctrl+Alt+S)
  • "Increase Number" (Ctrl+Alt++) and "Decrease Number" (Ctrl+Alt+-)
  • Option to auto-reload unmodified files changed by external programs
  • Hotkey (Alt+F5) and auto-reset option for file change notification
  • Manual and automatic reloading of files keeps current encoding
  • Scroll find matches and jump positions away from bottom border
  • Enabled new Scintilla indent modes for wrapped lines
  • Option to set any characters as boundaries for word wrap
  • Allow bigger tab-/indent-widths (256) and long line limit (4096)
  • Allow setting extra line spacing (through "Default Text" scheme)
  • Dropping directories displays file open dialog
  • Consolidated styles to simplify configuration (patch by Kai Liu)
  • Ensure cursor visibility on any background color (patch by Kai Liu)
  • Enabled improved Scintilla Pascal lexing module (patch by Kai Liu)
  • Updated HTML keywords to version 5.0
  • Remapped "Manage Favorites" hotkey to Alt+F9
  • Remapped "Invert Case" hotkey to Ctrl+Alt+U
  • Remapped "Title Case" hotkey to Ctrl+Alt+I
  • Remapped "Sentence Case" hotkey to Ctrl+Alt+O
  • Fixed various minor bugs
  • Notepad2.exe program file no longer compressed with UPX
  • Updated Scintilla library to 1.79

New in Notepad2 4.0.22 Beta 3 (Jul 12, 2009)

  • this version further refines the code folding control interface.

New in Notepad2 3.1.21 (Jun 22, 2009)

  • No ini-file is created by default (save settings with F7, once)
  • "Move Up" and "Move Down" keep selection and work with blocks
  • Set cursor to start (Ctrl+,) or end of text selection (Ctrl+.)
  • "URL Encode" (Ctrl+Shift+E) and "URL Decode" (Ctrl+Shift+R)
  • "Escape" (Ctrl+Alt+E) and "Unescape C Special Chars" (Ctrl+Alt+U)
  • "Sort Lines" with several options (Alt+O)
  • "Pad With Spaces" block command (Alt+B)
  • "Replace Next" assigned to hotkey (F4)
  • Auto strip trailing blanks option (File, Line Endings, Default)
  • Remapped "Transparent Mode" hotkey to Ctrl+0
  • Simple XML detection for files without extensions
  • Simple language detection for cgi and fcgi files
  • Reload file without file variable parsing (Alt+F8)
  • Enabled better styling of C/C++ preprocessor elements
  • Recent files and search strings merged with existing items on save
  • Paste board mode ignores immediately repeated copy actions
  • Command line switch + to accept multiple files (quoted spaces)
  • Command line switch - to accept single file argument (no quotes)
  • Option to set default command line mode (single or multiple files)
  • Command line switches to set file encoding and line ending mode
  • More /p command line switches (see "Command Line Switches" below)
  • /r command line switch to reuse existing window
  • /ns and /rs command line switches to enable single file instance
  • Renamed /t command line switch to /d (select default text scheme)
  • /t command line switch to set window title
  • Set window title to excerpt of current text selection (Ctrl+9)
  • Save relative pathnames for recent files (ini-option to disable)
  • Save relative directories for "Open with..." and "Favorites"
  • "Open with..." no longer sends short pathnames to external programs
  • External commands use current file directory as working directory
  • Remember "Save Copy" location until exit
  • Require only single click to restore window from tray icon
  • "Reuse Window" option timeout improves opening multiple files
  • Replaced "Find Up" option with "Find Previous" button in dialogs
  • "Find Wrap" notification dialogs provide "Cancel" button
  • Option to suppress replace count notifications
  • Find and replace dialogs provide new system menu commands
  • Dialog boxes use correct theme fonts on Vista
  • Patches to default styles, file types and auto-detection by Kai Liu
  • Incorporated base x64 source code compatibility patch
  • Fixed some problems with relative ini-file locations
  • Fixed some minor file variable problems
  • Fixed some encoding detection issues
  • Fixed some find and replace problems
  • Fixed several memory leaks when saving files
  • Fixed several memory leaks for editing operations
  • Reduced size of Notepad2.exe program file

New in Notepad2 3.0.20 (Jun 22, 2009)

  • Notepad2 converted to a native Win32 Unicode application
  • "Copy Add" (Ctrl+E) to append selected text to clipboard
  • "Unwrap Paragraphs" (Ctrl+Shift+J)
  • "Strip Last Character" (Alt+U)
  • "Select Line", can be used repeatedly (Ctrl+Shift+Space)
  • Remapped "Delete Line" hotkey to Ctrl+Shift+D
  • Remapped "Transparent Mode" hotkey to Alt+O
  • Allow easy toggling of find and replace dialogs (Ctrl+F, Ctrl+H)
  • Save and restore find and replace dialog positions (Ctrl+O, Ctrl+P)
  • Files with UTF-8 Signature always loaded in UTF-8 mode
  • Simple HTML detection for files without extensions
  • Support basic Emacs file variables (see FAQ on my website)
  • Update timestamps (Shift+F5) (see FAQ on my website)
  • %APPDATA% searched for existing ini-file
  • Modest enhancements to scheme customization dialog
  • Improved performance for saving settings to ini-file
  • Less restrictive handling of quoted filenames on command line
  • Keep scrolling positions when reloading changed files
  • Modified /s command line switch to work with extensions, not ids
  • /m command line switch to match specified text
  • /q command line switch to force creation of new files
  • Pass command line switches to existing windows: /s /t /h /x /g /q
  • Proceed to next match after choosing "replace" in replace dialog
  • Fixed some more find and replace problems
  • Improved visual appearance on Windows Vista
  • Updated Scintilla library to 1.77

New in Notepad2 2.1.19 (Jun 22, 2009)

  • "Line Comment" (Ctrl+Q) and "Stream Comment" (Ctrl+Shift+Q)
  • "Title Case" (Ctrl+Alt+T) and "Sentence Case" (Ctrl+Alt+S)
  • "Compress Whitespace" (Alt+P) command reduces spaces and tabs
  • Original Notepad .LOG feature
  • /f command line switch to set ini-file (/f0 to omit ini-file)
  • /p command line switch trumps sticky window position
  • /p0 uses system default settings for new window position
  • Move new off-screen windows prior to resizing
  • Option to skip Unicode text detection (File, Encoding, Default)
  • Reload file with different default encoding (Ctrl+F8, Shift+F8)
  • Unsaved documents with just whitespace considered empty
  • Improved handling of relative path names
  • File dialog filters can be specified in the Notepad2 ini-file
  • Type of indent guides can be specified in the Notepad2 ini-file
  • Track width of displayed text to adjust horizontal scroll range
  • Selected find results are better scrolled into view
  • Restore scrolling positions on revert
  • Ctrl+Back and Ctrl+Del stop at newlines, as usual on Windows
  • Ctrl+Space doesn't select initial line indentation whitespace
  • Ctrl+Tab hotkey modified to always insert a tabulator
  • Increase (Alt++) and decrease (Alt+-) long lines limit
  • Display long lines limit in statusbar if visual marker enabled
  • Import and export settings from customization dialog (Alt+I, Alt+X)
  • Added "Regular Expression" style to JavaScript and Java schemes
  • Updated filename extension lists with more default types
  • Updated Python keywords to version 3.0
  • Simplified SQL keywords (merged from MySQL and SQLite)
  • Improved compatibility with Windows Vista
  • Improved visual appearance of toolbar button images
  • Print margins can be set to "0"
  • Fixed several bugs with regular expression find and replace
  • Fixed bug with hanging of recent files dialog
  • Fixed bug with charset not being saved properly
  • Fixed bug with display of text selection at the beginning of lines
  • Fixed bug with cursor movement at start and end of wrapped lines
  • Updated Scintilla library to 1.76

New in Notepad2 2.0.18 (Jun 22, 2009)

  • "Select To" command in find dialog allows expanding the selection
  • "Select To Next" (F2) and "Select To Previous" (Shift+F2)
  • "Save Find Text" (Alt+F3) for later use with F2, F3, etc.
  • "Swap" (Ctrl+K) to exchange selected text with clipboard contents
  • Notepad2.exe program file is compressed with UPX by default

New in Notepad2 2.0.17 (Jun 22, 2009)

  • Option to allow only one Notepad2 window for each file
  • Option to display filename in window title in various forms
  • Hotkey Shift+Esc to save file and exit Notepad2
  • Indent size can be specified separately from tab width
  • Indent guides are highlighted along with matching braces
  • Caret can be displayed as a block (specify "block" for caret width)
  • Find and replace dialogs can be toggled from the toolbar
  • Tray icon is restored when Explorer is restarted
  • Fixed bug with brace matching
  • Fixed bug with replacement of ^c cutting the last character
  • Fixed bug with regular expression search causing infinite loop
  • Updated Scintilla library to 1.74

New in Notepad2 2.0.16 (May 16, 2007)

  • The msvcr70.dll runtime library is no longer required
  • "Enclose Selection" helper tool (Alt Q)
  • Single line files are opened with default line ending mode
  • Remapped hotkey Ctrl Shift Z from "Undo" to "Redo"
  • Remapped hotkey Ctrl Shift Y from "Redo" to "Undo"
  • Fixed bug: problem with MRU lists causing random crashes
  • Fixed bug: moving lines up/down not working properly
  • Fixed bug: window settings overwritten on new screen resolution

New in Notepad2 2.0.15 (Apr 10, 2007)

  • BSD License for Notepad2 and source code (see License.txt)
  • "Insert HTML/XML Tag" helper tool (Alt X)
  • Regex support for d, D, s, S, w, W, xHH
  • Text selection can have "eolfilled" style (on by default)
  • Caret blink rate is set to system default on startup
  • Support for opening makefiles without filename extension
  • Dropped Windows 9x support
  • Requires msvcr70.dll runtime library
  • Updated Scintilla library to 1.73

New in Notepad2 1.0.12 (Jan 23, 2007)

  • 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)