Notepad2
Re: Notepad2 version 3.0.20
Thanks, I'm using the same trick for calc.exe (to replace with Calcute).
Notepad2
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
Re: Notepad2
I'm using the RCs without issues from quite some time now. Great tool!
Re: Notepad2
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.
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.
Re: Notepad2
That Klui's version supports AutoIt Perhaps I will wait for the Final release of Notepad2 and then see if Klui updates their version too.
Re: Notepad2
guinness wrote:That Klui's version supports AutoIt 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?
------
Re: Notepad2
This may not be quite on topic but...
@guinness
@guinness
I believe the recent mod from portableapps has syntax highlighting for both AutoIt and AHk.That Klui's version supports AutoIt
Re: Notepad2
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.htmlMagibon wrote: the problem is it's unable to use my Pinned Taskbar Icon.
Re: Notepad2
ashghost wrote: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.htmlMagibon wrote: the problem is it's unable to use my Pinned Taskbar Icon.
Thank you very much ash
It worked!
Last edited by Magibon on Wed Apr 27, 2011 1:17 pm, edited 1 time in total.
Re: Notepad2
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.
A VBScript option is available here.
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
Re: Notepad2
[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.]