diff options
author | dgp <dgp@users.sourceforge.net> | 2001-03-13 00:32:37 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2001-03-13 00:32:37 (GMT) |
commit | d43ffae4d8ab27c36b9915c323f421ac57b1110a (patch) | |
tree | dbb6df4ccd8b1f92c45ad4c09c8440c1a34c7cd6 | |
parent | e3c5e189c42a3915e3e0ce1f2c4db264f98934a7 (diff) | |
download | tk-d43ffae4d8ab27c36b9915c323f421ac57b1110a.zip tk-d43ffae4d8ab27c36b9915c323f421ac57b1110a.tar.gz tk-d43ffae4d8ab27c36b9915c323f421ac57b1110a.tar.bz2 |
BRANCH dgp-privates-into-namespace:
* doc/text.n:
* doc/tkvars.n:
* unix/mkLinks: Added documentation for commands and variables
matching tk_text*.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | doc/text.n | 28 | ||||
-rw-r--r-- | doc/tkvars.n | 12 | ||||
-rw-r--r-- | unix/mkLinks | 16 |
4 files changed, 55 insertions, 9 deletions
@@ -1,3 +1,11 @@ +2001-03-12 Don Porter <dgp@users.sourceforge.net> + + BRANCH dgp-privates-into-namespace: + * doc/text.n: + * doc/tkvars.n: + * unix/mkLinks: Added documentation for commands and variables + matching tk_text*. + 2001-03-08 Don Porter <dgp@users.sourceforge.net> BRANCH dgp-privates-into-namespace: @@ -5,16 +5,22 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: text.n,v 1.8 2000/08/25 06:58:33 ericm Exp $ +'\" RCS: @(#) $Id: text.n,v 1.8.4.1 2001/03/13 00:32:37 dgp Exp $ '\" .so man.macros .TH text n 4.0 Tk "Tk Built-In Commands" .BS '\" Note: do not modify the .SH NAME line immediately below! .SH NAME -text \- Create and manipulate text widgets +text, tk_textCopy, tk_textCut, tk_textPaste \- Create and manipulate text widgets .SH SYNOPSIS +.nf \fBtext\fR \fIpathName \fR?\fIoptions\fR? +.VS 8.4 +\fBtk_textCopy\fR \fIpathName\fR +\fBtk_textCut\fR \fIpathName\fR +\fBtk_textPaste\fR \fIpathName\fR +.VE .SO \-background \-highlightthickness \-relief \-borderwidth \-insertbackground \-selectbackground @@ -772,6 +778,13 @@ There is a single debugging switch shared by all text widgets: turning debugging on or off in any widget turns it on or off for all widgets. For widgets with large amounts of text, the consistency checks may cause a noticeable slow-down. +.PP +.VS 8.4 +When debugging is turned on, the drawing routines of the text widget +set the global variables \fBtk_textRedraw\fR and \fBtk_textRelayout\fR +to the lists of indices that are redrawn. The values of these variables +are tested by Tk's test suite. +.VE .TP \fIpathName \fBdelete \fIindex1 \fR?\fIindex2\fR? Delete a range of characters from the text. @@ -1554,15 +1567,24 @@ Control-\e clears any selection in the widget. .IP [20] The F16 key (labelled Copy on many Sun workstations) or Meta-w copies the selection in the widget to the clipboard, if there is a selection. +.VS 8.4 +This action is carried out by the command \fBtk_textCopy\fR. +.VE .IP [21] The F20 key (labelled Cut on many Sun workstations) or Control-w copies the selection in the widget to the clipboard and deletes the selection. +.VS 8.4 +This action is carried out by the command \fBtk_textCut\fR. +.VE If there is no selection in the widget then these keys have no effect. .IP [22] The F18 key (labelled Paste on many Sun workstations) or Control-y inserts the contents of the clipboard at the position of the insertion cursor. +.VS 8.4 +This action is carried out by the command \fBtk_textPaste\fR. +.VE .IP [23] The Delete key deletes the selection, if there is one in the widget. If there is no selection, it deletes the character to the right of @@ -1634,4 +1656,4 @@ The display line with the insert cursor is redrawn each time the cursor blinks, which causes a steady stream of graphics traffic. Set the \fBinsertOffTime\fP attribute to 0 avoid this. .SH KEYWORDS -text, widget +text, widget, tkvars diff --git a/doc/tkvars.n b/doc/tkvars.n index d5bcc27..4047f5b 100644 --- a/doc/tkvars.n +++ b/doc/tkvars.n @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: tkvars.n,v 1.2.22.1 2001/02/28 23:29:55 dgp Exp $ +'\" RCS: @(#) $Id: tkvars.n,v 1.2.22.2 2001/03/13 00:32:37 dgp Exp $ '\" .so man.macros .TH tkvars n 4.1 Tk "Tk Built-In Commands" @@ -56,6 +56,14 @@ If an application sets it to one, then Tk attempts to adhere as closely as possible to Motif look-and-feel standards. For example, active elements such as buttons and scrollbar sliders will not change color when the pointer passes over them. +.TP +\fBtk_textRedraw\fR +.TP +\fBtk_textRelayout\fR +These variables are set by text widgets when they have debugging +turned on. The values written to these variables can be used to +test or debug text widget operations. These variables are mostly +used by Tk's test suite. .TP 15 \fBtk_version\fR Tk sets this variable in the interpreter for each application. @@ -69,4 +77,4 @@ each new release of Tk, except that it resets to zero whenever the major version number changes. .SH KEYWORDS -variables, version +variables, version, text diff --git a/unix/mkLinks b/unix/mkLinks index 79155ea..1464605 100644 --- a/unix/mkLinks +++ b/unix/mkLinks @@ -28,10 +28,6 @@ if test "$x" != "xyzzyTestingAVeryLongFileName.foo"; then exit fi -if test -r SetClassProcs.3; then - rm -f Tk_SetClassProcs.3 - ln SetClassProcs.3 Tk_SetClassProcs.3 -fi if test -r 3DBorder.3; then rm -f Tk_Alloc3DBorderFromObj.3 rm -f Tk_Get3DBorder.3 @@ -570,6 +566,10 @@ if test -r SetClass.3; then ln SetClass.3 Tk_SetClass.3 ln SetClass.3 Tk_Class.3 fi +if test -r SetClassProcs.3; then + rm -f Tk_SetClassProcs.3 + ln SetClassProcs.3 Tk_SetClassProcs.3 +fi if test -r SetGrid.3; then rm -f Tk_SetGrid.3 rm -f Tk_UnsetGrid.3 @@ -730,4 +730,12 @@ if test -r popup.n; then rm -f tk_popup.n ln popup.n tk_popup.n fi +if test -r text.n; then + rm -f tk_textCopy.n + rm -f tk_textCut.n + rm -f tk_textPaste.n + ln text.n tk_textCopy.n + ln text.n tk_textCut.n + ln text.n tk_textPaste.n +fi exit 0 |