Poll: Undo/Redo in MEditor/Edita
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 30, 2005
- 401 views
Hi, I've just done cut/paste in Edita and "fixed" (I hope) one of the bugbears I always had in MEditor: that cut/paste on /any/ selection has (should have) zero effect. (undo/redo is quite heavily tied to cut/paste in the wider scheme of things) It works (bar further testing), however as I am moving on to undo/redo, I thought I would ask for opinions before/as I code: I always disliked block comment/uncomment/indent/unindent being logged as several independent actions, meaning I have to key Ctrl Z several times to undo one Ctrl/Shift tab/insert/delete. I also yawned at undo doing "one character at a time" (backspace). Is one word at a time right? One line at a time? One block at a time? (personally I think largest possible block) I'm pretty sure that typing several lines should be treated different to pasting a block, in terms of undo/redo, but loose faith pinning it down. Should undo/redo "get smart", and split an undo immediately following a "redo" into lines/words? Or should it behave consistently fwd/back? Any other considerations I should have? Should there be options for this? If so, how should they be worded? Regards, Pete PS apologies to those that apparently need it for the "Napalm" comment, obviously it was only meant as a joke, bad taste or whatever.