--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:
>
> 2. In the latest version, the dialog title is being assigned to a
> variable. The variable is being referenced on the !0 line of the
> regexDialog.txt file. Even though the variable contents has some
> capitalized letters, they are not being used in the actual dialog
> title displayed when the script is run. It doesn't help to use
> powerpro's case function; I tried using #case("title", sDlgTitle) on
> the 0! line of regexDialog.txt with no improvement.
Yup, bug in dialog plugin, will fix in next version.
> 3. The following code in Function setControlProperties() causes PP to
> crash when changing the radio button selection from Match to MatchAll
> (or Replace) to something else. This problem also exists in the
> version actually distributed with regex 2.04.
> st_hDlg.show("ebFmt", sHide).enable(bEnable)
> st_hDlg.show("stFormat", sHide).enable(bEnable)
> Remove the chained dot syntax and it no longer crashed:
>
> ;st_hDlg.show("ebFmt", sHide).enable(bEnable)
> st_hDlg.show("ebFmt", sHide)
> st_hDlg.enable("ebFmt", bEnable)
> ;st_hDlg.show("stFormat", sHide).enable(bEnable)
> st_hDlg.show("stFormat", sHide)
> st_hDlg.enable("stFormat", bEnable)
Can't reproduce that, starting regex dialog and immediately hammering
the radio button set. Does it happen immediately on dialog startup or
do you have to do something else first?