Couldn’t an efficient text editor be able to store only diffs of unsaved files in RAM so it knows to apply it to the lines that are scrolled into the buffer that get streamed from the file and somehow have a way to have a compressed version of a file so it can detect changes to the original file and not reload and lose unsaved changes?
TextEditing