diff options
| author | Per Abrahamsen | 2003-08-26 08:58:11 +0000 |
|---|---|---|
| committer | Per Abrahamsen | 2003-08-26 08:58:11 +0000 |
| commit | 4036ed8363b5a03b47d8a5dfd8243cdc41f154a8 (patch) | |
| tree | acb847fdab23fee152737c5da1b8653a9b8e9bba /man | |
| parent | 72d19c667de84f55e8d4fcadee371a45c5785a9f (diff) | |
| download | emacs-4036ed8363b5a03b47d8a5dfd8243cdc41f154a8.tar.gz emacs-4036ed8363b5a03b47d8a5dfd8243cdc41f154a8.zip | |
Explain need of static text around editable field
Diffstat (limited to 'man')
| -rw-r--r-- | man/ChangeLog | 5 | ||||
| -rw-r--r-- | man/widget.texi | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 3648ed4a11d..5a7f2c10a6f 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-08-26 Per Abrahamsen <abraham@dina.kvl.dk> | ||
| 2 | |||
| 3 | * widget.texi (User Interface): Explain the need of static text | ||
| 4 | around an editable field. | ||
| 5 | |||
| 1 | 2003-08-19 Luc Teirlinck <teirllm@mail.auburn.edu> | 6 | 2003-08-19 Luc Teirlinck <teirllm@mail.auburn.edu> |
| 2 | 7 | ||
| 3 | * widget.texi (Basic Types): The argument to `:help-echo' can now | 8 | * widget.texi (Basic Types): The argument to `:help-echo' can now |
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 @@ | |||
| 10 | @c %**end of header | 10 | @c %**end of header |
| 11 | 11 | ||
| 12 | @copying | 12 | @copying |
| 13 | Copyright @copyright{} 2000, 2002 Free Software Foundation, Inc. | 13 | Copyright @copyright{} 2000, 2002, 2003 Free Software Foundation, Inc. |
| 14 | 14 | ||
| 15 | @quotation | 15 | @quotation |
| 16 | Permission is granted to copy, distribute and/or modify this document | 16 | 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. | |||
| 211 | For example, capitalizing all text from the middle of one field to the | 211 | For example, capitalizing all text from the middle of one field to the |
| 212 | middle of another field is prohibited. | 212 | middle of another field is prohibited. |
| 213 | 213 | ||
| 214 | Editing text fields are created by the @code{editable-field} widget. | 214 | Editable text fields are created by the @code{editable-field} widget. |
| 215 | |||
| 216 | An editable fields must be surrounded by static text on both sides, that | ||
| 217 | is, text that does not change in the lifetime of the widget. If the | ||
| 218 | field extend to the end of the line, the terminating line-feed character | ||
| 219 | will count as the necessary static text on that end, but you will have | ||
| 220 | to provide the static text before the field yourself. The | ||
| 221 | @code{:format} keyword is useful for generating the static text; for | ||
| 222 | instance, if you give it a value of @code{"Name: %v"}, the "Name: " part | ||
| 223 | will count as the static text. | ||
| 215 | 224 | ||
| 216 | The editing text fields are highlighted with the | 225 | The editing text fields are highlighted with the |
| 217 | @code{widget-field-face} face, making them easy to find. | 226 | @code{widget-field-face} face, making them easy to find. |