]> granicus.if.org Git - python/commit
Override the Undo delegator to forbid any changes before the I/O mark.
authorGuido van Rossum <guido@python.org>
Tue, 7 Mar 2000 18:51:49 +0000 (18:51 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 7 Mar 2000 18:51:49 +0000 (18:51 +0000)
commit9de988315a3ac8b87a9881d8d2ebf38d19671442
tree4bc0e0a7bc05b42bc2b9719aa68f2d541b9584ac
parent6fbd1f85d91772bd8c173db09b092ef88d9823bf
Override the Undo delegator to forbid any changes before the I/O mark.
It beeps if you try to insert or delete before the "iomark" mark.
This makes the shell less confusing for newbies.
Tools/idle/PyShell.py