summaryrefslogtreecommitdiffstats
path: root/doc/text.n
diff options
context:
space:
mode:
authormax <max@tclers.tk>2011-11-08 17:59:04 (GMT)
committermax <max@tclers.tk>2011-11-08 17:59:04 (GMT)
commit7b772947d121112eed1cdc34c8ec0b57a3b3b208 (patch)
treecc142b6dc30f0ccc6f1671d52e9eabbdf2ee7bb6 /doc/text.n
parent91ee5ad3a7b2ca1588901a5f8542f02a96a91cf1 (diff)
parent9bc6d3a39db60af7ee2496433bfa93ff9eb3ef3a (diff)
downloadtk-7b772947d121112eed1cdc34c8ec0b57a3b3b208.zip
tk-7b772947d121112eed1cdc34c8ec0b57a3b3b208.tar.gz
tk-7b772947d121112eed1cdc34c8ec0b57a3b3b208.tar.bz2
* Add square to DEMOPROGS in unix/Makefile.in. It contains a shebang
and hence should get installed with executable bits. * manpages: Fix the escaping of leading dots in lines that start with a widget name, so that nroff doesn't mistake it as a non-existing macro and skips the entire line.
Diffstat (limited to 'doc/text.n')
-rw-r--r--doc/text.n8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/text.n b/doc/text.n
index 8aa53ba..9702ddc 100644
--- a/doc/text.n
+++ b/doc/text.n
@@ -2058,8 +2058,8 @@ would actually match, the text widget will return the wrong result. In
practice this is a rare problem, but it can occur, for example:
.CS
pack [\fBtext\fR .t]
-\.t insert 1.0 "aaaa\enbbbb\encccc\enbbbb\enaaaa\en"
-\.t search \-regexp \-\- {(a+|b+\enc+\enb+)+\ena+} 1.0
+\&.t insert 1.0 "aaaa\enbbbb\encccc\enbbbb\enaaaa\en"
+\&.t search \-regexp \-\- {(a+|b+\enc+\enb+)+\ena+} 1.0
.CE
will not find a match when one exists of 19 characters starting from the first
.QW b .
@@ -2074,8 +2074,8 @@ not look back arbitrarily far for a possible match which might cover large
portions of the widget. For example:
.CS
pack [\fBtext\fR .t]
-\.t insert 1.0 "aaaa\enbbbb\enbbbb\enbbbb\enbbbb\\n"
-\.t search \-regexp \-backward \-\- {b+\en|a+\en(b+\en)+} end
+\&.t insert 1.0 "aaaa\enbbbb\enbbbb\enbbbb\enbbbb\\n"
+\&.t search \-regexp \-backward \-\- {b+\en|a+\en(b+\en)+} end
.CE
matches at
.QW 5.0