The script editor always opens at max scroll.

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10510
Joined: Wed May 06, 2009 2:28 pm

The script editor always opens at max scroll.

Post by dunbarx »

Why???

When opening a new tab in a long script, the default scroll is always maximum. Some may like it that way, but not me.

Anyway, at least in v.6, you can

Code: Select all

set the scroll of fld id 1040 of stack "revnewScriptEditor 1" to 0
Hah!

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

Re: The script editor always opens at max scroll.

Post by jacque »

Typically the editor will open to the same place where the insertion point was when it was last saved.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10510
Joined: Wed May 06, 2009 2:28 pm

Re: The script editor always opens at max scroll.

Post by dunbarx »

Jacque.

You would think.

Not in my 6.x.

Craig
Post Reply