Hacker News new | ask | show | jobs
by vbezhenar 2182 days ago
My first test of any text editor is to open something like 4-gigabytes log file with one gigabyte line. If editor works fast, it's good. So far very few editors pass this test, so most are not suitable for general use, only for some niche use like editing tiny text files.
2 comments

I am curious which editors pass this test, as pretty much everything I have tried chokes on long lines, even things like nano, vim, Sublime Text…
It's still disappointing, and I'd totally understand if someone wanted to fix this.

I think the pagers - less - is somewhat ok with long lines? Not much else that deals gracefully with multi megabyte lines.

I finally stopped on Windows EditPad, but it's shareware and its UI is somewhat weird, so I won't recommend it for everyone, but as a general text editor, it works for me.
Emacs has made some major improvements with long lines in master, and some of that will come out with 27.
I read the previous comment as sarcasm...
That is a bizarre measure for a text editor.
It was a sarcasm