1. Poll: Undo/Redo in MEditor/Edita
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 30, 2005
- 402 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.
2. Re: Poll: Undo/Redo in MEditor/Edita
- Posted by Ferlin Scarborough <ferlin1 at bellsouth.net> Jan 30, 2005
- 398 views
Pete, I find the undo/redo to be a pain a lot of times in an editor, because of the exact things you mentioned. Off the top of my head, I would say I would like to see maybe a list pop-up of the things that have been done, such as comment/uncomment block, changing a line, deleting characters etc.... Then allow the user to chose from the list of previous actions, to choose what to do/undo. Probably more trouble then it is worth though as I think about it. Later. Ferlin Scarborough Learn To Program Games in Free Courses At http://www.gameuniv.net My Euphoria Home Page http://mywebpage.netscape.com/shadetreesoft
3. Re: Poll: Undo/Redo in MEditor/Edita
- Posted by "Juergen Luethje" <j.lue at gmx.de> Jan 30, 2005
- 411 views
Pete Lomax wrote: [undo/redo of cut/paste] > Is one word at a time right? One line at a time? One block at a time? > (personally I think largest possible block) I also think so. > 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. Perhaps in this case one word at a time is adequate. > Should undo/redo "get smart", and split an undo immediately following > a "redo" into lines/words? Or should it behave consistently fwd/back? IMHO the behaviour should be as transparent as possible. In this case it means, that the editor should behave consistently fwd/back. > Any other considerations I should have? Edita will have the ability to select, cut and paste *columns* of text anyhow, won't it? <snip> Regards, Juergen
4. Re: Poll: Undo/Redo in MEditor/Edita
- Posted by Georg Wrede <georg at iki.fi> Jan 30, 2005
- 409 views
Pete Lomax wrote: > 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? IMHO, the defaults should be "what most other editors do". This makes learning your editor smoother. If someone wants "non-standard" behavior, then he'd probably change it right away in the Options. Personally, I like undoing typing as one chunk, mainly because I seldom type e.g. a screenful of text at one go. Almost invariably there is backspacing, cursor movements and such in between, that break naturally the text chunks that would be undone. Cut and paste I like as single undos. Often I find myself cutting or pasting in the wrong place, and that would then be easy to undo. About "redo char/word/line at a time", I suggest you might consider having separate buttons for the three. I could easily imagine that I'd use them all during a detailed redo. Or even a detailed undo. (Well, buttons, shortcuts, whatever, you get the picture. ) -- Another Euphoric, since Nov. 18, 2004 --