Re:Nerdy internals of an Apple text editor
by papereditor on Tuesday March 05, 2024 @05:19PM
(#39609890)
Yep. TextView is a beast.
For multi-megabyte files I always use Sublime.
And for multi-gigabyte files I use HexFiend.
Re:Nerdy internals of an Apple text editor
by KerrAvon on Tuesday March 05, 2024 @09:29PM
(#39611568)
BBEdit is more Mac-like than Sublime and handles multi-gig files with ease.
Re:Nerdy internals of an Apple text editor
by papereditor on Wednesday March 06, 2024 @04:29AM
(#39614029)
Indeed, there are a handful of those dev-oriented editors that crunch through mega files with ease. No idea why I prefer Sublime. :D
All those features make TextView relatively slow and memory hungry. Because of that, I don’t think _text_ editors that handle multi-megabyte files will use a single NSAttributedString to store the entire document’s text.