Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
get the screenRect
figure out where you want to reduce that space (from the topLeft down, for example)
set the rect of stack "revNewScripteditor" to that value
dunbarx wrote: Sat Apr 06, 2019 12:58 am
I just tried with the "1" variant, and got "cannot find stack". Is it a v.9 thing?
I don't think so. Wonder which version of 8.x your using? Far as I know, it has been with 1 since the beginning.
8.0.1 ~
Whoomp there it is...
8.1.2 ~
Whoomp there it is...again....
6.5.2 ~
Whoom... HOLY COW !
I *MIGHT* add you also need to have opened a script editor window to see the one. I am pretty sure revScriptEditor (without the 1) is the template the editor is made from. Just for fun, open 2 SE windows, and put the name of each
No dice. Even with the SE open, LC cannot find the "1" version of the stack.
And in a new session the rect of SE (no "1") is known and displayed even before it is opened. This is not surprising, and actually has nothing to do with the issue. I just wonder why you and I differ.
I think your edition of Lc must be infected with evil pixies, cause I sure see it here. Maybe a typo? I know SparkOut has a typo in his, no space between 'revScriptEditor' and '1'
open a script editor window
Open the message box and type -> put the name of the mousestack
Move the cursor over the script editor window
NOW hit ENTER
See what the message box tells you
Down in Northern Greece / Eastern Macedonia / Western Thrace / Illegally Occupied Southern Bulgaria / Whatever (Alexandropoli) I'm getting this sort of thing:
-
As I understand it, the unnumbered editor is the template. When opening a script, the template is cloned and assigned a number. The original template isnt ever actually used but it does exist, so it's possible to retrieve its properties. Since the introduction of tabs, it's now unusual to go past 1.
To the OP, LC should remember the size of the script editor between sessions, so you can drag it to the size and location you want and it should stay that way. If by "editor" you mean the whole LC environment then turning off the backdrop is probably what you want.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com