News for hackers. Stuff that matters.
Re:Notepad++ v8.2 Released by bitigchi on Friday January 21, 2022 @07:27AM (#30022472)
There is no other third party text editor more efficient and lightweight than Notepad++ on Windows. I only use Notepad++ on Windows, to save my CPU cycles and RAM.
Re:Notepad++ v8.2 Released by nikanj on Friday January 21, 2022 @09:08AM (#30023655)
My biggest complaint is getting the ”An update is available” notification pretty much every time I restart it. I wish there was a ”stable channel” for it
Re:Notepad++ v8.2 Released by marcosdumay on Friday January 21, 2022 @09:16AM (#30023742)
No need for a "stable channel". Just download the updates on the background, apply them on launch, and stop showing the notification.
Re:Notepad++ v8.2 Released by simplyinfinity on Friday January 21, 2022 @08:36AM (#30023261)
Give EmEditor[0] a try, I can load gigabytes of text and edit with no issue, it's fast and snappy. Has a bunch of cool features, like visualising CSVs as tables :)

[0] https://www.emeditor.com/

Re:Notepad++ v8.2 Released by magixx on Friday January 21, 2022 @08:50AM (#30023422)
The killer feature for me besides the lightweightness of Notepad++ is it's ability to remember what files were last opened and also "save" unsaved tabs.

I end up using it like a glorified sticky tool which I know windows did have at some point, but Notepad++ provides the same functionality with a much better experience.

Re:Notepad++ v8.2 Released by Etherlord87 on Friday January 21, 2022 @02:48PM (#30029002)
Don't rely on it too much. Multiple times I had to manually reopen the files located in the backup folder of Notepad ++. Once an unsaved file was lost. By comparison, Obsidian automatically saves on each edit, but since Obsidian isn't raw and has formatting quirkiness, it absolutely isn't a replacement for N++.
Re:Notepad++ v8.2 Released by zibzab on Friday January 21, 2022 @09:42AM (#30024095)
That's pretty much a hard requirement if you use Windows 10 with it's update-reboot madness.
Re:Notepad++ v8.2 Released by agumonkey on Friday January 21, 2022 @08:59AM (#30023531)
Yeah it's utterly useful. That said it needs some lazier redesign when files are on network shares, cause it will hang
Re:Notepad++ v8.2 Released by nick_ on Friday January 21, 2022 @10:18AM (#30024638)
??? EmEditor has this.
Re:Notepad++ v8.2 Released by nick_ on Friday January 21, 2022 @08:43AM (#30023325)
EmEditor is so much better than Notepad++ it's not even close.
Re:Notepad++ v8.2 Released by zouhair on Friday January 21, 2022 @08:59AM (#30023530)
Does it save unsaved files?
Re:Notepad++ v8.2 Released by tartoran on Friday January 21, 2022 @09:15AM (#30023740)
That’s a great feature, brings a lot of peace of mind.
Re:Notepad++ v8.2 Released by nick_ on Friday January 21, 2022 @10:17AM (#30024626)
Yes.
Re:Notepad++ v8.2 Released by ZeWaren on Friday January 21, 2022 @08:05AM (#30022902)
Sublime Text is also a pleasure to use, and works on both Linux and Windows.
Re:Notepad++ v8.2 Released by ziml77 on Friday January 21, 2022 @09:21AM (#30023824)
Sublime Text has been my choice for years. Most often I'm in an IDE or in VSCode, but when I need to inspect or edit a file quickly or find-and-replace across an entire directory I use Sublime. It's nice and snappy.
Re:Notepad++ v8.2 Released by jjkmk on Friday January 21, 2022 @01:32PM (#30027899)
I moved from Notepad++ to Sublime Text over a decade ago, its been my day to day for both Systems / Network Engineering and Web Development.
Re:Notepad++ v8.2 Released by bluedino on Friday January 21, 2022 @09:07AM (#30023631)
And Mac!
Re:Notepad++ v8.2 Released by myfonj on Friday January 21, 2022 @08:16AM (#30023047)
Have you ever tried AkelPad [0]?

Several years ago I tried loads of "lightweight" graphical text editors for Windows, searching for something with fast start-up and ability to load (and edit) humongous text files. Been using PSPad back then, with NPP as a side-kick, but when it came to dealing with super large files, this editor came as the most performant and reliable. It's data and memory footprint is super tiny and is quite extensible.

I've never used it as a primary editor so cannot speak much about features (yes it seems dated and configurations seems wonky) but really proved to be workhorse for me.

(Nowadays I mostly live in VSCode but still keep this AkelPad (and Foxe [1] / First Object editor for XML files) around when necessity to deal with something huge arises.)

[0] http://akelpad.sourceforge.net/ [1] http://www.firstobject.com/dn_editor.htm

Re:Notepad++ v8.2 Released by generationP on Friday January 21, 2022 @09:31AM (#30023942)
AkelPad is great for big files, but at some point it stopped updating the date of a file when I edit it, which has been causing trouble for my backup scripts and for syncing. Is this a known issue?
Re:Notepad++ v8.2 Released by myfonj on Friday January 21, 2022 @10:00AM (#30024359)
Have you tried unchecking "Menu > Options > [x] Save file time"? Is seems it actually means Keep file time.
Re:Notepad++ v8.2 Released by generationP on Friday January 21, 2022 @04:00PM (#30029930)
Hah, that works! I blame it on the author being Russian.
Re:Notepad++ v8.2 Released by TonyTrapp on Friday January 21, 2022 @07:43AM (#30022648)
PSPad is very similar in both regards! If you are looking for a lightweight editor on Windows, give both a try. Though I found that PSPad has become a bit more buggy in more recent versions since 64-bit support was introduced (which, I think, has lead to several components being exchanged or upgraded, which caused these bugs). I ought to give Notepad++ a try again.
Re:Notepad++ v8.2 Released by maupin on Friday January 21, 2022 @08:41AM (#30023299)
PSPad used to be my editor on Windows until they added crapware to the installer. No idea if they still have it or not, as I immediately jumped ship to Notepad++ when I saw it.
Re:Notepad++ v8.2 Released by mjrpes on Friday January 21, 2022 @11:20AM (#30025681)
PSPad was nice, but I switched to Notepad++ years ago because PSPad would crash every so often and I'd lose whatever work I had done since the last backup. Notepad++ has never crashed for me.
Re:Notepad++ v8.2 Released by TonyTrapp on Friday January 21, 2022 @12:01PM (#30026322)
One reason why I like PSPad is that I can use it for three main tasks - editing text files, diffing text files and hex-editing files. Notepad++ seems to have a hex editor plugin, do you know if it's any good?
Re:Notepad++ v8.2 Released by mjrpes on Friday January 21, 2022 @03:23PM (#30029480)
It seems fine as a basic hex editor, but I haven't used it that much. Not sure what would happen if you gave it a large file. I've been happy with HxD as a dedicated hex editor that works well with large files.
Re:Notepad++ v8.2 Released by jakub_g on Friday January 21, 2022 @09:17AM (#30023758)
One thing unique to N++ IMO is how well it works with lots of files open, and how easy and fast it is to do search'n'replace across lots of files.

It has several modes (normal, regex, normal-with-multiline) so you can always choose easily the one that fits your scenario. The multiline one is IMO pretty useful - it allows multiline but allows to avoid clunkiness of regexes and escapings.

Re:Notepad++ v8.2 Released by ComodoHacker on Friday January 21, 2022 @07:39AM (#30022597)
SciTE is more lightweight. Efficiency is about personal config and habits, though.
Re:Notepad++ v8.2 Released by ale42 on Friday January 21, 2022 @07:41AM (#30022613)
SciTE is super light, but has less functions. Notepad++ is based on the same engine (Scintilla), though. Both are infinitely lighter than Electron-based editors...
Re:Notepad++ v8.2 Released by coolso on Friday January 21, 2022 @01:00PM (#30027334)
For just text I find Notepad2 far superior. The shame of it is (or not, because it’s excellent as-is) it’s not been updated in years.
Re:Notepad++ v8.2 Released by yardie on Friday January 21, 2022 @07:45AM (#30022676)
Microsoft engineers rewrote the notepad.exe app. You can load a 10GB text file. Something you can’t do in almost any other text editor.
Re:Notepad++ v8.2 Released by MauranKilom on Friday January 21, 2022 @07:55AM (#30022774)
I just tried opening a 10 GB zip file in notepad.exe and it told me it can't open files this large. And then a second message box "Operation completed successfully." (lol). How can I tell whether I have the rewritten version?

(It also hangs on opening a 500 MB file, too. Version dialog just gives me my Win10 version.)

Re:Notepad++ v8.2 Released by capableweb on Friday January 21, 2022 @08:03AM (#30022886)
yardie said text file, not binary files. Not sure what text editor doesn't bark at a 10GB binary file. Probably Sublime would be alone in handling it, but don't have it in front of me right now to test.
Re:Notepad++ v8.2 Released by MauranKilom on Friday January 21, 2022 @08:24AM (#30023131)
How do you distinguish a text file from a binary file? It's just bytes. But for the sake of it, I created a 10 GB .txt file containing the same ASCII-only line repeated 100 million times. Unsurprisingly, notepad.exe still says the file is too large. And it also hangs with a 1 GB version.
Re:Notepad++ v8.2 Released by tokai on Friday January 21, 2022 @08:08AM (#30022932)
>text file, not binary files

there is a difference?

Re:Notepad++ v8.2 Released by im3w1l on Friday January 21, 2022 @08:29AM (#30023192)
Some editors choke on long lines. A binary file can have long stretches without newline.
Re:Notepad++ v8.2 Released by unicodepepper on Saturday January 22, 2022 @09:01AM (#30036665)
A text file only contains data that represents characters on the screen, while “binary file” is used to refer to any other file that isn’t meant to be viewed or edited as text.

If you open a (small) image file with notepad you will see a lot of gibberish. This is what happens when you try to view a binary (in other words, non-text) file as text.

Re:Notepad++ v8.2 Released by capableweb on Friday January 21, 2022 @08:11AM (#30022977)
For most intents and purposes, yes.
Re:Notepad++ v8.2 Released by banana_giraffe on Friday January 21, 2022 @11:32AM (#30025857)
Notepad, at least the version included in Windows 11 on an up to date install, refuses to open any text file bigger than 1,073,741,823 bytes.

The error is cute:

> The test_1073741824_bytes.txt file is too large for Notepad.

> Use another editor to edit the file.

followed by:

> The operation completed successfully.

Re:Notepad++ v8.2 Released by frogger8 on Friday January 21, 2022 @08:43AM (#30023329)
Source? Disclosure I work at soft-micro
Re:Notepad++ v8.2 Released by yardie on Friday January 21, 2022 @09:58AM (#30024334)
Presenter at the last in-person MS Ignite (so, 2019?). He mentioned to the audience they rewrote Notepad.exe and showed the memory usage of NP++ and Notepad.exe while opening a 10GB CSV.

But if you're saying it's not included in Windows 10 it might be a sysinternals branch.

Re:Notepad++ v8.2 Released by frogger8 on Friday January 21, 2022 @02:03PM (#30028362)
I will look into it when I am back next week. Thanks!
Re:Notepad++ v8.2 Released by jansan on Friday January 21, 2022 @07:57AM (#30022791)
Does it support more than one undo step now?
Re:Notepad++ v8.2 Released by vbezhenar on Friday January 21, 2022 @08:09AM (#30022941)
Check out EditPad Pro. I really like it.