Page 1 of 1

Code Editor (Editing) too long for screen

Posted: Fri May 22, 2015 6:46 am
by erikhans08
Opening up any script with the top bar up close to the top of the screen, the bottom of the script is cut off. There has been some other odd behavior: the Message Box opening by itself after being closed and couldn't get into the file menu to exit. Had to shut down the computer as the Task Manager did not work.

Neither "revTemplateScriptEditor" nor "revTemplatePalette" shows up in the extender Application browser for a height fix.
there is a stack "revTemplateScriptEditor" rin msg esulted in "false"

Maybe I should download a new Livecode Community 7.0.4?

TIA, Erik

Re: Code Editor (Editing) too long for screen

Posted: Fri May 22, 2015 7:01 am
by Thierry
erikhans08 wrote: Maybe I should download a new Livecode Community 7.0.4?
Hi Erik,

LC 7.0.5 and 6.7.5 are the 2 latest *stable* version today.

Quite a few bugs have been resolved since 7.0.4, but
I don't know about your specific one.

Regards,

Thierry

Re: Code Editor (Editing) too long for screen

Posted: Fri May 22, 2015 7:38 am
by richmond62
On which operating system is this?

Re: Code Editor (Editing) too long for screen

Posted: Fri May 22, 2015 5:21 pm
by jacque
An incorrectly sized script editor typically happens when it was previously shown on a second, larger monitor and then moved to a smaller one. Deleting the LC preferences will fix it. But it's easier to just put this into the message box, hover the cursor over the editor, and hit the return key:

Code: Select all

set the height of the mousestack to 600
Then you can adjust the size and LC will remember it.

The message box will appear whenever there is a line of script containing a "put" command with no destination. Search your scripts for something like that. Untargeted "puts" go to the message box.

Menus will not be fully functional if you are in debug mode. Make sure you have aborted a debugging session before trying to quit.

I agree you should be using the latest stable version, but I don't think these issues are bugs.

Re: Code Editor (Editing) too long for screen

Posted: Fri May 22, 2015 7:55 pm
by SparkOut
jacque wrote:Then you can adjust the size and LC will remember it.
I wish.

Re: Code Editor (Editing) too long for screen

Posted: Fri May 22, 2015 10:45 pm
by jacque
I wish.
It doesn't? That's a bug then.

Re: Code Editor (Editing) too long for screen

Posted: Fri May 22, 2015 10:55 pm
by SparkOut
You commented about it on the use-list not too long ago. On windows there has been an outstanding bug for ages, still present in 7.0.5. The editor window keeps coming back with the lower edge off screen and won't remember the last size and rect.

Re: Code Editor (Editing) too long for screen

Posted: Sat May 23, 2015 2:14 am
by jacque
Oops, in that case there's also a bug in my brain. Remind me, has it been reported? If so, someone should bump it a bit.

Re: Code Editor (Editing) too long for screen

Posted: Sat May 23, 2015 9:48 am
by SparkOut
Well there's a bug in my brain too, "not too long ago" apparently means January 2014.

http://quality.runrev.com/show_bug.cgi?id=11746 was reported and confirmed, but afaicr it has been like that since the revNewScriptEditor was introduced, on Windows (XP and 7)

Re: Code Editor (Editing) too long for screen

Posted: Tue Jun 02, 2015 4:38 pm
by erikhans08
Put the cursor over the script then cmd-3.

on setEditScreen -- commandKeyDown "3"
set the height of the mousestack to 700
set the width of the mousestack to 400
set the top of the mousestack to 30
end setEditScreen
---
"Deleting the LC preferences"
How is this done?

TIA
Erik Hansen

Re: Code Editor (Editing) too long for screen

Posted: Wed Jun 03, 2015 12:05 am
by jacque
erikhans08 wrote:"Deleting the LC preferences"
How is this done?
On OS X the file is in ~/Library/Preferences/RunRev/Livecode.rev. If you are running LC 7 the file is named Livecode7.rev instead. Not sure where they are in Windows.