summaryrefslogtreecommitdiffstats
path: root/doc/entry.n
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-05-29 11:14:52 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-05-29 11:14:52 (GMT)
commitdce9a69e660b5794ed00094a7129d3ee1d96c822 (patch)
tree3bb178d635babd5f62e45145b1442b05216bd671 /doc/entry.n
parent8da74a57c9361ff898e53427de9527dbbf121c75 (diff)
downloadtk-dce9a69e660b5794ed00094a7129d3ee1d96c822.zip
tk-dce9a69e660b5794ed00094a7129d3ee1d96c822.tar.gz
tk-dce9a69e660b5794ed00094a7129d3ee1d96c822.tar.bz2
Document acceptable indices <M>+<N>, <M>-<N>, end-<N> that TIP #577 made available.
Diffstat (limited to 'doc/entry.n')
-rw-r--r--doc/entry.n3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/entry.n b/doc/entry.n
index 23b8cab..80e8428 100644
--- a/doc/entry.n
+++ b/doc/entry.n
@@ -239,6 +239,9 @@ or
.QW \fBsel.f\fR .
In general, out-of-range indices are automatically rounded to the
nearest legal value.
+Indexes support the same simple interpretation as
+for the command \fBstring index\fR, with simple integer index
+arithmetic and indexing relative to \fBend\fR.
.SS SUBCOMMANDS
.PP
The following commands are possible for entry widgets: