4 ms·
And yet, this text editor too loads the whole file into memory when you open it. No modern text editor really should do that and support files of essentially ar
by svara 2y ago
And yet, this text editor too loads the whole file into memory when you open it. No modern text editor really should do that and support files of essentially arbitrary size by loading at most a few gigabytes around the cursor.
- asalahli 2y agoHow would you calculate line numbers if you did that?
- abareplace 2y agoExactly, not loading the whole file into memory works well only for hex editors.
- quietbritishjim 2y agoIt does have the benefit that if the file changes or is deleted then you can carry on working with the old version. (It notifies you when this and lets you choose whether to reload/close.)
- extraduder_ire 2y agoWouldn't windows not let you do that if the file is opened exclusively? I also assume you can retain a handle to a "deleted" file on windows, like you can on *nix machines.
- quietbritishjim 2y agoI think you're just restating the same benefit in a different way: you can modify or delete a file (or even just open it without modifying it) in another process while Notepad++ has it open.