> It would be nice if Scintilla offered a circular redo-buffer to limit memory > usage.
Older editors used to do that for memory reasons, but its rare to get the size right, even ignoring complete reloads we are talking of here. Normal edits are rarely a problem, so the buffer size doesn't need to be big, but consider refactoring where large parts of one file are moved to others, that can generate large changes and need a big buffer, but of course a big buffer is wasted for normal editing. No size satisfies anybody. But that was with 64kb computers, with current computers keeping all the changes for a session is usually viable. Its just we abuse it by saving reloads. Maybe in the future somebody will save reloads as deltas not the whole file, but thats another issue. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1246#issuecomment-250721182
