list_dialog()
A.V.Kuznetsov
kuzn at umps.mephi.ru
Sun Oct 1 11:59:04 CEST 2006
On Fri, 29 Sep 2006 09:04:24 -0400
Tony Balinski <ajbj at free.fr> wrote:
Hi all,
>
> All debate aside, I have a working implementation of the keyword thing
> (my vote option 4) - the patch is here:
> http://ajbj.free.fr/nedit/nedit5.5dev/patches/listDialogKeyWords.diff
>
> You'll find a description of changes (and the keywords implemented) at
> the start of that file.
>
Thank you Tony, for the nice powerful macro.
>
> Thorsten's "pass options as an array" idea appeals to me: I may have a
> hack at that too.
I think that global variable $list_dialog can be introduced.
If $list_dialog = $empty_array ,this is default, list_dialog "is old".
If $list_dialog["mode"] = "multisel", "single"... corresponding
option is passed to list_dialog.
If $list_dialog["string"] = "dialog" or some other value
a string input line is added.
If list_dialog automatically obtains options from
$list_dialog array, old syntax of list_dialog() macro is kept.
Alexey
More information about the Discuss
mailing list