diff options
author | hobbs <hobbs@noemail.net> | 2002-06-21 23:09:53 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2002-06-21 23:09:53 (GMT) |
commit | 3dd1d6d625af72aa49a917d29a182fdf21f92a57 (patch) | |
tree | 454006e4ff105b7ca979593a68e8dc7ea1cd12f4 /unix/tkUnixDefault.h | |
parent | b845298d99dc20f80198da102f99045c46655e5c (diff) | |
download | tk-3dd1d6d625af72aa49a917d29a182fdf21f92a57.zip tk-3dd1d6d625af72aa49a917d29a182fdf21f92a57.tar.gz tk-3dd1d6d625af72aa49a917d29a182fdf21f92a57.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:
FossilOrigin-Name: 6a28d5bdfd4bd0d8ab71bc4b8aeb118626124b0a
Diffstat (limited to 'unix/tkUnixDefault.h')
-rw-r--r-- | unix/tkUnixDefault.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/tkUnixDefault.h b/unix/tkUnixDefault.h index d0afe39..f8af12d 100644 --- a/unix/tkUnixDefault.h +++ b/unix/tkUnixDefault.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: tkUnixDefault.h,v 1.15 2002/06/21 02:38:54 hobbs Exp $ + * RCS: @(#) $Id: tkUnixDefault.h,v 1.16 2002/06/21 23:09:54 hobbs Exp $ */ #ifndef _TKUNIXDEFAULT @@ -476,6 +476,7 @@ #define DEF_TEXT_INSERT_OFF_TIME "300" #define DEF_TEXT_INSERT_ON_TIME "600" #define DEF_TEXT_INSERT_WIDTH "2" +#define DEF_TEXT_MAX_UNDO "0" #define DEF_TEXT_PADX "1" #define DEF_TEXT_PADY "1" #define DEF_TEXT_RELIEF "sunken" |