News for hackers. Stuff that matters.
Re:Sublime Text 4 by bachmeier on Friday May 21, 2021 @08:48AM (#27233342)
> Opening a 1 line 1GB file on a modern machine brings subl to a complete halt and regex editing is sheer impossible.

Is this a common operation for a text editor?

Re:Sublime Text 4 by magicalhippo on Friday May 21, 2021 @09:38AM (#27233825)
Perhaps not super-common, but at work we have to deal with XML files that are 4-500MB in size that don't contain newline characters. Every now and then we have edit them.

It's at least something I'd expect a premium text editor to handle without issues.

Re:Sublime Text 4 by silverwind on Friday May 21, 2021 @11:03AM (#27234926)
It's common when working with big API responses which are indented using plugins after loading. Most APIs do not serve whitespace in their responses, so it's crucial that the editor won't freeze up on initial load.
Re:Sublime Text 4 by naikrovek on Friday May 21, 2021 @05:28PM (#27240188)
try turning off syntax highlighting, if you haven't. that speeds up ST dramatically on large files, in my experience.

or give UltraEdit a try. it opens huge files with ease.

Re:Sublime Text 4 by sigzero on Friday May 21, 2021 @10:53AM (#27234799)
If you are manipulating data, it could be. Logs can easily get big as well.
Re:Sublime Text 4 by adamzochowski on Friday May 21, 2021 @09:48AM (#27233946)
Yeah, plenty of people edit files like xml or json in text editors.
Re:Sublime Text 4 by jeromegv on Friday May 21, 2021 @10:10AM (#27234155)
Sublime can do big files without any issue, the specific use case here is if it all sits on a single line. Most XML/Json files are not single line, but yes it happens.