[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/widget.texi [emacs-unicode-2]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/man/widget.texi [emacs-unicode-2] |
Date: |
Tue, 10 Aug 2004 04:09:50 -0400 |
Index: emacs/man/widget.texi
diff -c emacs/man/widget.texi:1.18.6.2 emacs/man/widget.texi:1.18.6.3
*** emacs/man/widget.texi:1.18.6.2 Mon Jun 28 07:29:03 2004
--- emacs/man/widget.texi Tue Aug 10 07:46:39 2004
***************
*** 213,226 ****
Editable text fields are created by the @code{editable-field} widget.
! An editable field 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 extends 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.
--- 213,231 ----
Editable text fields are created by the @code{editable-field} widget.
! @strong{Warning:} In an @code{editable-field} widget, the editable
! field must not be adjacent to another widget---that won't work.
! You must put some text in between. Either make this text part of
! the @code{editable-field} widget itself, or insert it with
! @code{widget-insert}.
!
! The @code{:format} keyword is useful for generating the necessary
! text; for instance, if you give it a value of @code{"Name: %v "},
! the @samp{Name: } part will provide the necessary separating text
! before the field and the trailing space will provide the
! separating text after the field. If you don't include the
! @code{:size} keyword, the field will extend to the end of the
! line, and the terminating newline will provide separation after.
The editing text fields are highlighted with the
@code{widget-field-face} face, making them easy to find.
***************
*** 345,350 ****
--- 350,356 ----
(widget-insert "Here is some documentation.\n\nName: ")
(widget-create 'editable-field
:size 13
+ :format "%v " ; Text after the field!
"My Name")
(widget-create 'menu-choice
:tag "Choose"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/man/widget.texi [emacs-unicode-2],
Miles Bader <=