Notepad2

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Message
Author
User avatar
tproli
Posts: 1172
Joined: Sat Sep 09, 2006 10:14 am
Location: Hungary
Contact:

Re: Notepad2 version 3.0.20

#16 Post by tproli »

Thanks, I'm using the same trick for calc.exe (to replace with Calcute).

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Notepad2

#17 Post by guinness »

A new version of Notepad2 is being developed - http://www.flos-freeware.ch/notepad2.html
- "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" als handles shuffle, remove duplicate and unique lines
- 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)
- 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

User avatar
joby_toss
Posts: 2971
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: Notepad2

#18 Post by joby_toss »

I'm using the RCs without issues from quite some time now. Great tool!

User avatar
Magibon
Posts: 177
Joined: Thu Feb 24, 2011 4:24 pm

Re: Notepad2

#19 Post by Magibon »

i also use Notepad2, but i use an older version made by Kliu.org.

Why?
- because it adds support for many more snytax schemes... i.e. NFO Art.
- it's able to use my Pinned Tasbar Icon.
http://www.portablefreeware.com/index.php?id=649


There's a newer version similar to Kliu's but with even more syntax support:
Notepad2 with code folding, bookmarks and more (updated)

But for some reason, it's not able to use my Pinned Taskbar Icon.
Even when i use the trick i use for Kliu's version (run in Compatibility Mode for Vista)

So.. that's why im still using Kliu's version.

Unless someone could answer me why "Notepad2 with code folding, bookmarks and more (updated)" version is unable to use my Pinned Taskbar Icon. :)

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: Notepad2

#20 Post by guinness »

That Klui's version supports AutoIt :D Perhaps I will wait for the Final release of Notepad2 and then see if Klui updates their version too.

User avatar
Magibon
Posts: 177
Joined: Thu Feb 24, 2011 4:24 pm

Re: Notepad2

#21 Post by Magibon »

guinness wrote:That Klui's version supports AutoIt :D Perhaps I will wait for the Final release of Notepad2 and then see if Klui updates their version too.

Kliu provides the source for his version, and specifically states anyone can compile their own version :)

Unfortunately, i don't know how. Otherwise i would love to update Kliu's version with the latest version of Notepad 2.

do you know how?

------


Image

User avatar
dmg
Posts: 325
Joined: Fri Jun 04, 2010 2:11 am
Contact:

Re: Notepad2

#22 Post by dmg »

This may not be quite on topic but...

@guinness
That Klui's version supports AutoIt
I believe the recent mod from portableapps has syntax highlighting for both AutoIt and AHk.

ashghost
Posts: 384
Joined: Wed Feb 06, 2008 2:55 pm
Location: South Carolina

Re: Notepad2

#23 Post by ashghost »

Magibon wrote: the problem is it's unable to use my Pinned Taskbar Icon.
Flo provides instructions (and registry-modifying batch code) for enabling taskbar pinning and a recent items jumplist for any version of Notepad2: http://www.flos-freeware.ch/doc/notepad ... ement.html

User avatar
Magibon
Posts: 177
Joined: Thu Feb 24, 2011 4:24 pm

Re: Notepad2

#24 Post by Magibon »

ashghost wrote:
Magibon wrote: the problem is it's unable to use my Pinned Taskbar Icon.
Flo provides instructions (and registry-modifying batch code) for enabling taskbar pinning and a recent items jumplist for any version of Notepad2: http://www.flos-freeware.ch/doc/notepad ... ement.html

Thank you very much ash :)
It worked!
Last edited by Magibon on Wed Apr 27, 2011 1:17 pm, edited 1 time in total.

User avatar
Magibon
Posts: 177
Joined: Thu Feb 24, 2011 4:24 pm

Re: Notepad2

#25 Post by Magibon »

1. Using the Q&A found by Ash above.
2. Use IconPhile .. it's freeware, Portable, and works !

Image
Last edited by Magibon on Wed Apr 27, 2011 1:19 pm, edited 1 time in total.

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: Notepad2

#26 Post by guinness »

To make Notepad2 the default Notepad application you can either use the batch option here or compile the code below and run to add and then run again to remove, very simple!

If anyone wants a compiled version let me know. I might even improve it with small popups if someone requests it.

Code: Select all

#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7
#AutoIt3Wrapper_Icon=Bin\ICON_1.ico
#AutoIt3Wrapper_Outfile=Notepad2Takeover.exe
#AutoIt3Wrapper_UseUpx=Y
#AutoIt3Wrapper_Res_Description=Notepad2 Takeover.
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_LegalCopyright=nocopyright
#AutoIt3Wrapper_Res_Language=2057
#AutoIt3Wrapper_Run_Obfuscator=Y
#Obfuscator_Parameters=/SF /SV /OM /CS=0 /CN=0
#AutoIt3Wrapper_res_requestedExecutionLevel=asInvoker
#AutoIt3Wrapper_Outfile_Type=exe
#AutoIt3Wrapper_UseX64=N
#NoTrayIcon
#RequireAdmin

#include <WinAPIEx.au3> ; By Yashied >> http://www.autoitscript.com/forum/topic/98712-winapiex-udf/

Exit _Main()

Func _Main()
	Local $sWow6432Node = ""
	If @OSArch = "X64" Then
		$sWow6432Node = "Wow6432Node\"
	EndIf

	Local $iError = 0, $sFilePath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\" & $sWow6432Node & "Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe", "Debugger")
	$iError = @error
	If $iError Then
		$sFilePath = @ScriptDir & "\Notepad2.exe"
	Else
		$sFilePath = StringStripWS(_WinAPI_PathUnquoteSpaces(_WinAPI_PathRemoveArgs($sFilePath)), 3)
	EndIf

	If FileExists($sFilePath) = 0 Then
		Return SetError(1, 0, -1)
	EndIf
	If $iError Then
		Return RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\" & $sWow6432Node & "Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe", "Debugger", _
				"REG_SZ", '"' & $sFilePath & '" /z') * 2
	Else
		Return RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\" & $sWow6432Node & "Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe") * 4
	EndIf
EndFunc   ;==>_Main
A VBScript option is available here.

User avatar
webfork
Posts: 10823
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Notepad2

#27 Post by webfork »

[Moderator note: posts about Notepad2-mod were given their own thread. This is due in large part to a clear development activity difference: Notepad2-mod has seen updates as of 4 months ago where Notepad2 is a little over 3 years old.]

Post Reply