![]() |
【转帖】free undoredo
free undo/redo
free undo/redo hello, how can i free the undo redo list of a database ? regards. it's impossible. the undo/redo data is released only together with database. btw, currently maxundosteps is not supported by dd too. sergey slezkin thanks for your answer sergey. we have also a problem with startundorecord of a database. if we have records in the undo list and in the redo list, then we call startundorecord it doesn't free the redo list (except if the database is modified), the problem is that it append a record in the undo list. if you don't understand what i mean, you can reproduce it in odamfc. you add two lines (2 undo, 0 redo) you call undo (1 undo, 1 redo) then you take a grip of the last line and you press "escape". we could hope: 1 undo and one redo, or only 1 undo... but the result is: 2 undo and one redo ! i think we should clear redo at startundorecord() call not at actual database modification. we'll fix it. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 06:45 AM. |