summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-06-21 23:09:53 (GMT)
committerhobbs <hobbs>2002-06-21 23:09:53 (GMT)
commitd55f0b49720c26e7e6183c7227da3ba166f4ae77 (patch)
tree454006e4ff105b7ca979593a68e8dc7ea1cd12f4 /mac
parent3b8cb4e775db2787fddefb777f7df6a01bd5ca39 (diff)
downloadtk-d55f0b49720c26e7e6183c7227da3ba166f4ae77.zip
tk-d55f0b49720c26e7e6183c7227da3ba166f4ae77.tar.gz
tk-d55f0b49720c26e7e6183c7227da3ba166f4ae77.tar.bz2
* doc/text.n: TIP #104 implementation which generalizes the
* generic/tkText.c: undo/redo stack to not be tied solely to the * generic/tkText.h: text widget. The APIs are still private. * generic/tkUndo.c: This also adds a stack limiting ability and * generic/tkUndo.h: a -maxundo option to the text widget (in * library/text.tcl: addition to the options from TIP #26) should * mac/tkMacDefault.h: users want to limit the undo/redo stack * tests/text.test: (should not be necessary in most cases). * unix/Makefile.in: [Patch #554763] (callewart) * unix/tkUnixDefault.h: * win/Makefile.in: * win/makefile.vc: * win/tkWinDefault.h:
Diffstat (limited to 'mac')
-rw-r--r--mac/tkMacDefault.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mac/tkMacDefault.h b/mac/tkMacDefault.h
index fd55d68..64901d4 100644
--- a/mac/tkMacDefault.h
+++ b/mac/tkMacDefault.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacDefault.h,v 1.15 2002/06/21 02:38:54 hobbs Exp $
+ * RCS: @(#) $Id: tkMacDefault.h,v 1.16 2002/06/21 23:09:55 hobbs Exp $
*/
#ifndef _TKMACDEFAULT
@@ -486,6 +486,7 @@
#define DEF_TEXT_INSERT_OFF_TIME "300"
#define DEF_TEXT_INSERT_ON_TIME "600"
#define DEF_TEXT_INSERT_WIDTH "1"
+#define DEF_TEXT_MAX_UNDO "0"
#define DEF_TEXT_PADX "1"
#define DEF_TEXT_PADY "1"
#define DEF_TEXT_RELIEF "flat"