Jan, You're a genius. Thanks for this.
Chris Sheffield Software Development Read Naturally [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan Schenkel Sent: Tuesday, September 16, 2003 11:16 PM To: [EMAIL PROTECTED] Subject: RE: Best version of Rev to use for debugging? --- Chipp Walters <[EMAIL PROTECTED]> wrote: > Hey Jan, Thanks! > > Does this fix the problem with the variable watcher, > too? Where the left > column (variables) get's mixed up with the right > column. > > -Chipp > Hi Chipp, No it desn't, but I may have come up with a recipe to fix this as well -- haven't done much testing though, so be careful with it : - first backup the stack : \global environment\revvariablewatcher.rev - then use the message box to execute edit the script of card id 1002 of stack "revVariableWatcher" - scroll to the handler "revUpdatePalette" on revUpdatePalette pPass - there you will see a block of the script to handle the fetching of variable names in an executioncontext set the debugContext to line it of the cContexts of btn "Execution Contexts" debugdo "put the variableNames into fld " && quote & "tvnames" & quote replace "@" with empty in fld "tvnames" replace cr with comma in fld "tvnames" replace ",," with "," in fld "tvnames" put word 1 to -1 of fld "tvnames" into fld "tvnames" if last char of fld "tvnames" is comma then delete last char of fld "tvnames" if last item of fld "tvnames" is empty then delete last item of fld "tvnames" sort items of fld "tvnames" put empty into field "Names" put empty into field "Values" put 1 into field "tcline" - now you make a small patch, just after the line sort items of fld "tvnames" you place --PATCH if char 1 of fld "tvnames" is comma then delete char 1 of fld "tvnames" --PATCH - the second you apply the script change, you can see it working correctly ; oh, and make sure to save the stack "revVariableWatcher" when Rev asks you to. Hope this helps the adventurous among us, Jan Schenkel. ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
