Code Editor (Editing) too long for screen

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!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Code Editor (Editing) too long for screen

Post by erikhans08 » Fri May 22, 2015 6:46 am

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

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: Code Editor (Editing) too long for screen

Post by Thierry » Fri May 22, 2015 7:01 am

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
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10220
Joined: Fri Feb 19, 2010 10:17 am

Re: Code Editor (Editing) too long for screen

Post by richmond62 » Fri May 22, 2015 7:38 am

On which operating system is this?

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7403
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Code Editor (Editing) too long for screen

Post by jacque » Fri May 22, 2015 5:21 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

SparkOut
Posts: 2961
Joined: Sun Sep 23, 2007 4:58 pm

Re: Code Editor (Editing) too long for screen

Post by SparkOut » Fri May 22, 2015 7:55 pm

jacque wrote:Then you can adjust the size and LC will remember it.
I wish.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7403
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Code Editor (Editing) too long for screen

Post by jacque » Fri May 22, 2015 10:45 pm

I wish.
It doesn't? That's a bug then.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

SparkOut
Posts: 2961
Joined: Sun Sep 23, 2007 4:58 pm

Re: Code Editor (Editing) too long for screen

Post by SparkOut » Fri May 22, 2015 10:55 pm

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.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7403
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Code Editor (Editing) too long for screen

Post by jacque » Sat May 23, 2015 2:14 am

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

SparkOut
Posts: 2961
Joined: Sun Sep 23, 2007 4:58 pm

Re: Code Editor (Editing) too long for screen

Post by SparkOut » Sat May 23, 2015 9:48 am

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)

erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Re: Code Editor (Editing) too long for screen

Post by erikhans08 » Tue Jun 02, 2015 4:38 pm

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

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7403
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Code Editor (Editing) too long for screen

Post by jacque » Wed Jun 03, 2015 12:05 am

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply