Page 1 of 1

Watch window disappeared from bottom of script editor - Solved

Posted: Fri Dec 30, 2022 10:29 pm
by DR White
Running LC 9.6.6 on macOS Big Sur version 11.6.8.

While debugging a program in the IDE, I accidentally dragged the Stack script off the top of my screen and I got multiple windows showing all the programs running on my mac. When I got back to a single window with LC, my Script editor no longer had the watch window on the bottom of the script editor.

Does anybody know how to get it back watch window on the bottom of the script editor?

Thanks,

David

Re: Watch window disappeared from bottom of script editor

Posted: Sat Dec 31, 2022 1:16 am
by dunbarx
Think this has happened to me in a past life. Try a few things. First,

Code: Select all

set the topLeft of stack "revNewScriptEditor 1" to "0,0"
If that doesn't do it, start clicking on menuItems in both the "edit" and "debug" menus.

Craig

Edit.

It might be called "revScriptEditor 8" since that is what I see on my laptop right now, even though I am in LC v. 9.6.1. You can always ask for "the stacks" in the message box.

Re: Watch window disappeared from bottom of script editor

Posted: Sat Dec 31, 2022 4:49 am
by scott_morrow
When I lose the lower section of the script editor (if that is what you are referencing), in most cases I have been unsuccessful in getting it back unless I trash LiveCode's preferences file. (This issue happens often enough that I keep an updated copy of the preference file handy... so that replacing it doesn't require having to re-enter the information in the IDE.)

Preferences location (Mac):
/Users/your_name_here/Library/Preferences/RunRev

Re: Watch window disappeared from bottom of script editor

Posted: Sat Dec 31, 2022 9:55 am
by stam
Agree - this has happened to me as well - if restarting the IDE doesn’t fix it then resetting the preferences does.

I only recently noticed there is a “reset preferences” button, but have never used that so can’t tell you if that works. I’ve just deleted the prefs file.

To locate the prefs file on any OS, just enter

Code: Select all

Put the file name of stack “revPrefetences”
In the message box and obviously you have to quit the IDE before deleting the file in the OS.

Re: Watch window disappeared from bottom of script editor

Posted: Sat Dec 31, 2022 12:52 pm
by DR White
PRAISE THE LORD!!!!!!

The “reset preferences” button worked.

It is in menu LiveCode/ Preferences/Project Browser (at the very, very bottom)

Thanks so much (I was dead in the water, without this watch box).

God Bless you and have a Healthy and Happy New Year,

David

Re: Watch window disappeared from bottom of script editor - Solved

Posted: Mon Jan 02, 2023 2:33 pm
by stam
Glad to hear you're sorted :)

Good to know re: the 'reset preferences' button - I had only noticed this the last time I trashed my preferences and had to re-enter my preferred font etc. Good to know it works.
If you have a number of preferences you'd rather not re-enter manually, it might be an idea to keep a copy of the prefs file handy (locate it as above).

S.