summaryrefslogtreecommitdiff
path: root/man/widget.texi
diff options
context:
space:
mode:
authorPer Abrahamsen <abraham@dina.kvl.dk>2003-08-26 08:58:11 +0000
committerPer Abrahamsen <abraham@dina.kvl.dk>2003-08-26 08:58:11 +0000
commite13d43e1584323ca7b634e423578798aebd9f049 (patch)
tree6edb984126aba3056e82b44c9885bd4881c4d5f3 /man/widget.texi
parentfc3d7b3c8dce601f726637922ac4ac40c28d932d (diff)
downloademacs-e13d43e1584323ca7b634e423578798aebd9f049.tar.gz
Explain need of static text around editable field
Diffstat (limited to 'man/widget.texi')
-rw-r--r--man/widget.texi13
1 files changed, 11 insertions, 2 deletions
diff --git a/man/widget.texi b/man/widget.texi
index 88c068abd77..8971178e0a8 100644
--- a/man/widget.texi
+++ b/man/widget.texi
@@ -10,7 +10,7 @@
@c %**end of header
@copying
-Copyright @copyright{} 2000, 2002 Free Software Foundation, Inc.
+Copyright @copyright{} 2000, 2002, 2003 Free Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
@@ -211,7 +211,16 @@ change you make must be contained within a single editable text field.
For example, capitalizing all text from the middle of one field to the
middle of another field is prohibited.
-Editing text fields are created by the @code{editable-field} widget.
+Editable text fields are created by the @code{editable-field} widget.
+
+An editable fields must be surrounded by static text on both sides, that
+is, text that does not change in the lifetime of the widget. If the
+field extend to the end of the line, the terminating line-feed character
+will count as the necessary static text on that end, but you will have
+to provide the static text before the field yourself. The
+@code{:format} keyword is useful for generating the static text; for
+instance, if you give it a value of @code{"Name: %v"}, the "Name: " part
+will count as the static text.
The editing text fields are highlighted with the
@code{widget-field-face} face, making them easy to find.