--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:

> However, I'm finding that neither .92 or .94 work with existing
> scripts that worked with .90 and previous versions. The version of
> regexDialog that was included with regex 0204 (regex0204.zip is in
> Files) now gives this error during startup:
> 
> ======
> ERROR: dialog.create: Duplicate control name or id line 46
> 
> Error occurred near line 163 of script regexDialog:
> static st_hDlg = dialog.create(sDlgFile, 0)
 
If you look at text file that stores dialog structure, you'll find

40  | 154 |  40  | 13  | button  | btSubj     | O&pen...            
10  | 158 |  30  | 13  | static  | btSubj     | &Subject:          |

Oops.  Two controls, same id.  The second btSubj should probably be 
stSubj.  Previous versions of plugin should have caught but didn't.


> The version of regexDialog I enhanced to highlight a selected
> substring now has problems. It starts up without error with the radio
> button Match selected. But if you select Match All, then reselect
> Match, it now gives this error:
> 
> ============
> Bad expression:  invalid operator at
> [EMAIL PROTECTED])X, ?XdZ_3001X, 109, 0, 1705004, ?XdZ_3001X)
>
call([EMAIL PROTECTED],?Xcall([EMAIL PROTECTED])X,
> ?XdZ_3001X, 109, 0, 1705004, ?XdZ_3001X)
> =============
 
> I replaced \x02 with X and \x05 with Z for posting of above.

I'll need to see your SHERI_regexdialog script to diagnose.  Post it
up in temp area of files, or you can try to send it to me as
attachment, though if you may remember that was unreliable.

> FYI, there is a link to the defunct google group in the the dialog doc
> file.

Ta, will fix.

 


Reply via email to