Skip to content

Commit

Permalink
Update to version 3.0.20
Browse files Browse the repository at this point in the history
This update contains the original code for version 3.0.20 without the
modifications for x86-64.
  • Loading branch information
bsantos committed Oct 31, 2008
1 parent 5f1025f commit 49399a5
Show file tree
Hide file tree
Showing 20 changed files with 3,941 additions and 2,500 deletions.
Binary file modified Notepad2.ini
Binary file not shown.
83 changes: 63 additions & 20 deletions Notepad2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
= Notepad2 - light-weight Scintilla-based text editor for Windows =
= =
= =
= Notepad2 2.1.19 =
= Notepad2 3.0.20 =
= (c) Florian Balmer 2004-2008 =
= http://www.flos-freeware.ch =
= =
Expand Down Expand Up @@ -37,6 +37,36 @@ Features
- Mostly adjustable


New in Version 3.0.20 (released October 31, 2008)

- 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 Version 2.1.19 (released April 10, 2008)

- "Line Comment" (Ctrl+Q) and "Stream Comment" (Ctrl+Shift+Q)
Expand Down Expand Up @@ -73,7 +103,7 @@ New in Version 2.1.19 (released April 10, 2008)
- 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 the start and end wrapped lines
- Fixed bug with cursor movement at start and end of wrapped lines
- Updated Scintilla library to 1.76


Expand Down Expand Up @@ -361,6 +391,7 @@ Keyboard Shortcuts for Notepad2
Shift+Del Cut.
Ctrl+C Copy.
Alt+C Copy all.
Ctrl+E Copy add.
Ctrl+V Paste.
Shift+Ins Paste.
Ctrl+K Swap.
Expand All @@ -380,12 +411,13 @@ Keyboard Shortcuts for Notepad2

Line

Ctrl+Shift+Space Select line.
Ctrl+Shift+Up Move line up.
Ctrl+Shift+Down Move line down.
Ctrl+D Duplicate line.
Ctrl+Shift+X Cut line.
Ctrl+Shift+C Copy line.
Ctrl+E Delete line.
Ctrl+Shift+D Delete line.
Ctrl+Shift+Backspace Delete line left.
Ctrl+Shift+Del Delete line right.

Expand All @@ -396,13 +428,15 @@ Keyboard Shortcuts for Notepad2
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.
Ctrl+Shift+W Column wrap.
Ctrl+I Split lines.
Ctrl+J Join lines.
Ctrl+Shift+J Unwrap paragraphs.

Convert

Expand Down Expand Up @@ -430,6 +464,12 @@ Keyboard Shortcuts for Notepad2
Ctrl+Shift+Q Stream comment.
Ctrl+B Find matching brace.
Ctrl+Shift+B Select to matching brace.
Ctrl+1 Enclose within ''.
Ctrl+2 Enclose within "".
Ctrl+3 Enclose within ().
Ctrl+4 Enclose within [].
Ctrl+5 Enclose within {}.
Shift+F5 Update timestamps.

Find, Replace

Expand Down Expand Up @@ -480,8 +520,9 @@ Keyboard Shortcuts for Notepad2
Alt+- Decrease limit for long lines.
Ctrl+Shift+H Toggle auto close HTML/XML.
Alt+T Always on top.
Alt+U Transparent mode.
Alt+O Transparent mode.
F7 Save settings now.
Ctrl+F7 Jump to ini-file.

Misc.

Expand Down Expand Up @@ -550,25 +591,27 @@ Regular Expression Syntax

Command Line Switches

Notepad2.exe [/g ln[,col]] [/s id] [/t] [/h] [/x] [/c] [/b] [/n]
[/p x,y,cx,cy[,max]|/p0] [/i] [/f ini|/f0] [/?] [file]
Notepad2.exe [/g ln[,col]] [/m[-][r|b] text] [/q] [/s ext] [/t] [/h]
[/x] [/c] [/b] [/n] [/p x,y,cx,cy[,max]|/p0] [/i]
[/f ini|/f0] [/?] [file]

file: File to open, can be a relative pathname, or a shell link.
file File to open, can be a relative pathname, or a shell link.
This must be the last argument, quotes are not necessary.
/g: Jump to specified position, a line of -1 means end of file.
/s: Select specified syntax scheme ("id" is the zero-based index,
0 = Default, 1 = Web, 2 = XML, 3 = CSS, 4 = JavaScript, ...).
/t: Select default text scheme.
/h: Select Web Source Code scheme.
/x: Select XML Document scheme.
/c: Open a new Notepad2 window and paste the clipboard contents.
/b: Open a new Notepad2 paste board to collect clipboard entries.
/n: Always open a new Notepad2 window.
/p: Set window position to x,y with size cx,cy, optional max set
/g Jump to specified position, a line of -1 means end of file.
/m Match specified text (- last, r regex, b backslashes).
/q Force creation of new files without prompt.
/s Select syntax scheme associated with specified extension.
/t Select default text scheme.
/h Select Web Source Code scheme.
/x Select XML Document scheme.
/c Open a new Notepad2 window and paste the clipboard contents.
/b Open a new Notepad2 paste board to collect clipboard entries.
/n Always open a new Notepad2 window.
/p Set window position to x,y with size cx,cy, optional max set
to nonzero to maximize window; /p0 means use system default.
/f: Specify ini-file; /f0 use no ini-file (don't save settings).
/i: Start as tray icon.
/?: Display a brief summary about command line parameters.
/i Start as tray icon.
/f Specify ini-file; /f0 use no ini-file (don't save settings).
/? Display a brief summary about command line parameters.


Source Code
Expand Down
6 changes: 3 additions & 3 deletions Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
= Notepad2 - light-weight Scintilla-based text editor for Windows =
= =
= =
= Notepad2 2.1.19 =
= Notepad2 3.0.20 =
= (c) Florian Balmer 2004-2008 =
= http://www.flos-freeware.ch =
= =
Expand All @@ -15,7 +15,7 @@

Notepad2 Source Code

This package contains the full source code of Notepad2 2.1.19 for
This package contains the full source code of Notepad2 3.0.20 for
Windows. Project files for Visual C++ .NET 7.0 are included. I think
it's possible to build Notepad2 with other development tools, but I'm
sorry I have no further information on this topic.
Expand All @@ -25,7 +25,7 @@ Notepad2 Source Code
unzipped to the "Scintilla" subdirectory of the Notepad2 source code
directory.

Notepad2 2.1.19 has been created with Scintilla 1.76. The following
Notepad2 3.0.20 has been created with Scintilla 1.77. The following
modification to the Scintilla source code is necessary:

Scintilla/src/KeyWords.cxx:
Expand Down
4 changes: 2 additions & 2 deletions res/Notepad2.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
name="Notepad2"
processorArchitecture="*"
processorArchitecture="x86"
version="5.1.0.0"
type="win32"
/>
Expand All @@ -13,7 +13,7 @@
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
processorArchitecture="x86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
Expand Down
Loading

0 comments on commit 49399a5

Please sign in to comment.