Live data from Hacker News

NotepadNext – a cross-platform reimplementation of Notepad++

github.com

291–300 of 317 posts

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#291

Earlier quoted context omitted.

Personally while there are some task that's easier with multiple cursors, I have personally yet to find any use case where regexp replace in selections doesn't work as well.

You cannot edit in real-time with regex With regex, you need to plan everything you need to do and then surgically do it. With multiple cursors, you only need to know (roughly) where you need to change, the rest you figure it out on the fly.

In editors like vim/emacs it is possible and common.

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#292
post #49

Notepad++ (and this one here) are based on Scintilla [0]. It's worth pointing it out because it is a high-quality open source code editor component. SciTE [1] is the "official" demo-editor for Scintilla and was last updated on March 9th 2024. The history reaches back to 1999. [0] https://www.scintilla.org/ [1] https://www.scintilla.org/SciTE.html

Speaking as someone who uses SciTE daily and has dug into the code, there is nothing high-quality about it.

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#293
post #287

Earlier quoted context omitted.

It goes further than just that -- for instance, lets say your data looks like this: [ "foo bar/2322", "foo baz/4223", "foo blah/2232", ... ] And you need to reformat that into: [ "bar 2322: foo", "baz 4223: foo", "blah 2232: foo", ... ] You can absolutely use a regular expression find/replace to solve this. But using multicursors, you can just highlight the first "foo ", then hold Ctrl+D to select all instances, then…

Okay, that particular use case I know as column or vertical select mode.

you can have rows between the columns is the key difference

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#294
post #44

Earlier quoted context omitted.

I greatly miss those tool bars. I think it's ironic that modern UI strives to be less cluttered than ever before while computer monitors are larger than ever before. * They encourage curiosity about previously undiscovered functionality. It improves feature discoverability. * It's way easier to find the correct tool bar icon than trying to hunt for a feature inside the menus. * If some toolbars are highlighted or dis…

There is no "One size fits all" UI, sadly. Absolute beginners should be shown a basic interface front and center, with a clear way to access more advanced features. More advanced users may benefit from a plethora of rich controls, all shown together. Experts may want to remove the visual clutter because they access features from keyboard without looking. Good software offers a way to achieve all of these, and often m…

Microsoft Office from 97 - 2003 handled toolbar UI almost perfectly in my opinion. As a young kid I discovered many advanced and obscure features of Word and Excel through the customize feature.

I really disliked the relatively dumbed down ribbon UI when it first came out.

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#295
post #178

Earlier quoted context omitted.

Nice work. Does it have auto-save, like npp?

Thanks! Currently it does not but it's not something particularly complex to implement so I can add it if there's interest! I haven't used NP++ in some time so I don't remember exactly how it behaves but I'll take a look.

yeah I'll definitely try out ecode when auto save is implemented!

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#296
post #117

Npp (Notepad++) is my go to text editor for windows. It has been actively maintained for 20 years. It’s lightweight with a super responsive UI. I love the text search/replace interface. I keep a copy of the portable version on my keychain thumb drive because I never know when a friend or family member will have me muck around with their pc. Npp Version 7 runs splendidly on wine. I prefer it over the linux desktop tex…

I was not expecting much, but AppImage startup time and responsiveness looks promising. Memory usage in GNOME System Monitor looks decent (AppRun.wrapped - 13.9MB, NotepadNext - 876.5 kB). Typing feels much faster than Linux version of VSCode, maybe even reaching levels of SublimeText? Need to test with much bigger documents with complicated syntax highlighting to make sure. Overall, the major Notepad++ selling point…

Did a bit more testing. Autosave feature exists, but it is turned off by default. Another good thing is that NotepadNext is rendering Japanese characters correctly, as compared to Geany, which renders Chinese instead. One strange thing, is that Linux version is using Qt5 instead of more recent Qt6.

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#297

Earlier quoted context omitted.

> The new Jetbrains ui is hard to like. It’s form over function. I'd like my JetBrains IDEs better with a 10x speedup. The new redesign isn't bad if you memorize keyboard shortcuts :-)

You can use the keyboard shortcut with old UI. I still like at the old UI. When you do overlapping windows, those non standard chrome are great distraction.

> You can use the keyboard shortcut with old UI

That's the joke :-)

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#298

Earlier quoted context omitted.

And it has caused me so much pain. Open a file big enough to crash np++? Good luck getting out of it. Eventually I figured out it only reloaded the file if you can few enough tabs open so I could just open a bunch of other files, let it crash, open some more and then eventually it wouldn't load the huge file, so I could close the tab. But still, such a pain. It was many years ago and I was young and stupid, so there'…

I always use vim for big files. Have edited giga-byte SQL dumps with vim with no problems.

Now, years laterand knowing much more than I did then I suspect the file might have been in the gigabytes and was causing overflow issues. Because it was crashing, not slowing down

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#299

Shameless plug: I'm working on a multi-platform code editor similar to NP++ and some new editors like Zed called ecode, that tries to be a fresh take on code editors using some modern tools and technologies like LSPs. I started working on it after using Geany for many years but finding Geany lacking some essential features for my needs. ecode is developed with speed in mind and has a very fast startup time. [1] https…

This looks neat and nice with the MIT license.

Looking forward to giving this a try!

Re: NotepadNext – a cross-platform reimplementation of Notepad++

#300

I very much miss Notepad++ for making quick notes, and then being able to close the window without being asked whether I'd like to save the document. This, and auto-save (so not losing documents if you forget to save) is one of the main reasons I replaced Notepad with ++. Rather quickly, I found that I had to completely remove Notepad so muscle memory would stop guiding me to it. Good times (and sad ones; I lost a lo…

I don't think the core/default Kate editor does the same "write and close the window" like Notepad++. Kate does have pretty cool options for session handling - which helps keep files open that you had been working on, etc...which i understand is not the same thing. But, now that you asked, i wonder if there is a plugin or extenson for Kate that might provide such a feature? I myself am a fan of Notepad++, and install…

Kate does support it. There is a checkbox somewhere in the settings to enable exactly this behavior. I use it together with sessions.
Post reply on HN