I need to make both a Control+ Zand a Shift+ Control+ Zfunction in Tkinter widgets Textso that I can undo and redo everything.
Text
Does anyone have an idea on how to do this?
The tkinter widget Textsupports undo and redo operations using the stack .
You can find additional information at the following link:
http://www.tkdocs.com/tutorial/text.html#more
tkinter Tk docs Text . tkinter Text edit_undo.
edit_undo
Tkinter Control + Z Shift + Control + Z, undo=True. autoseparators=True maxundo=-1. . http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/text-undo-stack.html https://www.tcl.tk/man/tcl8.5/TkCmd/text.htm#M65.
undo=True
autoseparators=True
maxundo=-1
Source: https://habr.com/ru/post/1752915/More articles:When it started? - objectupdate insert msaccess - insertHow to enable NewItem Placeholder in WPF data grid - wpfМодель внутри подпапки в папке моделей - ruby-on-railsDjango: Hierarchical URLs - djangoIPhone dynamic selection not working - jqueryПеремещение каталогов для портативной конфигурации git - gitLearning about Singleton models - designCSS inline images with background image: url () - htmlWhy "allow" work for naming internal recursive procedures? - lambdaAll Articles