diff options
author | Per Abrahamsen <[email protected]> | 2003-08-26 08:58:11 +0000 |
---|---|---|
committer | Per Abrahamsen <[email protected]> | 2003-08-26 08:58:11 +0000 |
commit | 4036ed8363b5a03b47d8a5dfd8243cdc41f154a8 (patch) | |
tree | acb847fdab23fee152737c5da1b8653a9b8e9bba /man/widget.texi | |
parent | 72d19c667de84f55e8d4fcadee371a45c5785a9f (diff) |
Explain need of static text around editable field
Diffstat (limited to 'man/widget.texi')
-rw-r--r-- | man/widget.texi | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/man/widget.texi b/man/widget.texi index 88c068abd7..8971178e0a 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. |