Implementation of Undo, Redo
Project description
Implementation of Undo/Redo
How to install:-
pip install Undo-Redo
UndoRedo class contains following functions:-
append()
It will append data into stack.pop()
It will pop data upto current index.undo()
It decreases the current index.redo()
It increases the current index.undoText()
Returns data of (current index-1). It can be used beforeundo().redoText()
Returns data of (current index+1). It can be used beforeredo().undoAvailable()
Return True if undo is possible.redoAvailable()
Return True if redo is possible.out()
Returns stack as list.
Example:-
from Undo_Redo import UndoRedo module import
stack=UndoRedo() create object
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Undo_Redo-1.1.tar.gz
(1.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Undo_Redo-1.1.tar.gz.
File metadata
- Download URL: Undo_Redo-1.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e5f1661e560bf234aca5db9b84f4aabfc5392fd9dee40fc30638ece817aaf9e
|
|
| MD5 |
bd689168070cd303da7821e0164210ed
|
|
| BLAKE2b-256 |
0e7183a19042b6f3aacb015a891f86cbce4e40e34abf3866178450bd41ef9ef4
|
File details
Details for the file Undo_Redo-1.1-py3-none-any.whl.
File metadata
- Download URL: Undo_Redo-1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f75f3d78e8e9af666180016e4a175b4e0a1f1530532d73b263aa8d853b87ebc0
|
|
| MD5 |
1570867e4b10d7e7fbc3cfc81e7b4570
|
|
| BLAKE2b-256 |
e2f786b1db23efd0f9f3f56a702aa178272e5daecc180b38204ecbd80f5d2232
|