[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
UnDo/ ReDo Buffer ?
[Thread Prev] | [Thread Next]
- Subject: UnDo/ ReDo Buffer ?
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Wed, 20 Aug 2025 14:17:19 +0200
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
HiI developed an app for scanning documents. It depicts the scans in a ListView with a thumbnail preview. The order of the scans in the ListView can be changed and scans can also be deleted. What was missing so far is an UnDo function. So I asked an AI about a suitable concept and got a reasonable proposal based on a class for scanned document and a collection of these classes and a history stack. I tested it in a pilot project and it turned out to be feasible and efficient.
In parallel I found this in the Gambas-wiki: https://gambaswiki.org/edit/snippets/undoredobuffer
I don't understand this chapter. It seems to tell the reader, that there is a generic solution for any thinkable undo/redo action in an app. As this is beyond my imagination I kindly ask for some guidance resp. concepts for UnDo/ReDo functions und sample projects if available.
Best regards Claus
Re: UnDo/ ReDo Buffer ? | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |