Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.programming    |    Programming issues that transcend langua    |    57,431 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 55,669 of 57,431    |
|    Julio Di Egidio to Julio Di Egidio    |
|    Re: Undo / Redo design pattern.    |
|    04 Apr 22 18:08:09    |
      From: julio@diegidio.name              On Tuesday, 5 April 2022 at 03:02:11 UTC+2, Julio Di Egidio wrote:       > On Monday, 4 April 2022 at 15:38:25 UTC+2, Malcolm McLean wrote:       >       > > Most edits change only one letter, so this seems a bit wasteful, I       wondered if I could do better.              And that's anyway inaccurate: most editors will compound changes in between       movements of the cursor.              Anyway, enough said.              > Either you do it or you don't.       >       > And you haven't engage with my observation that this is *not* about "program       state". Talking of how to approach the whole thing "canonically"...       > > Strictly speaking, the position of the cursor on the grid is also part of       the program state. But users don't expect moving the cursor       > > to create an undoable action, and I doubt they care whether the cursor is       restored after an undo.       > I dislike it but most more advanced editor do have it, usually optional.       >       > Anyway, just my 2c: have fun.              Julio              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca