[FR][EN] A bug in the Revo 3 script editor?

Dom mcdomi at free.fr
Thu Sep 18 15:37:31 EDT 2008


(in french below)
I am editing a stack, wanting to get a group script:

instead of the script, an empty window
titled "revNewScriptEditor"
cannot be closed with CMD-W (done by going in the menu)

the script was invoked by a control-clic within "Application Browser"

again:
I get correctly 
group"xxx" of card "xxx" of "path"
script window always empty

I am given an error message:

        executing at 21:15:21
Type    Function: error in function handler
Object  Editor
Line    set the backgroundColor of field "Script" of me to
sePrefGet("editor,backgroundColor")
Hint    sePrefGet

the "script" button in the dialog window leads to this:

group "Editor" of card "main" of stack "revNewScriptEditor 1"

#   Unlocks the script, allowing the user to edit it.
command scriptUnlock
   set the lockText of field "Script" of me to false
   set the backgroundColor of field "Script" of me to
sePrefGet("editor,backgroundColor")
end scriptUnlock

I understand why I cannot open the script ;->

One has to quit RR and relaunch to get rid of the problem 
-- for a while (reproducible...)
simply closing the "offending" (?) is not sufficient

========
J'édite une pile, plus particulièrement je veux obtenir le script d'un
groupe :

au lieu d'avoir le script on a une fenêtre vide
titrée "revNewScriptEditor"
non fermable par CMD-W (insister, ou aller dans le menu)

le script a été appelé par ctrl-clic sur la ligne de l'objet dans
"Application Browser"

insister :
là j'ai bien
group"xxx" of card "xxx" of "chemin d'accès"
mais fenêtre script toujours vide

je finis par avoir un message d'erreur :

        executing at 21:15:21
Type    Function: error in function handler
Object  Editor
Line    set the backgroundColor of field "Script" of me to
sePrefGet("editor,backgroundColor")
Hint    sePrefGet

le bouton script dans le dialogue d'erreur me donne ceci :

group "Editor" of card "main" of stack "revNewScriptEditor 1"

#   Unlocks the script, allowing the user to edit it.
command scriptUnlock
   set the lockText of field "Script" of me to false
   set the backgroundColor of field "Script" of me to
sePrefGet("editor,backgroundColor")
end scriptUnlock

je comprends pourquoi je ne peux pas accéder au script ;->

il faut quitter RR et relancer pour éliminer le problème
-- pour un bref moment !
fermer la pile en cause ne suffit pas !




More information about the use-livecode mailing list