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: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

The script editor always opens at max scroll.

Post by dunbarx » Fri Apr 01, 2016 10:47 pm

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: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: The script editor always opens at max scroll.

Post by jacque » Sat Apr 02, 2016 4:46 pm

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: 10354
Joined: Wed May 06, 2009 2:28 pm

Re: The script editor always opens at max scroll.

Post by dunbarx » Sat Apr 02, 2016 5:01 pm

Jacque.

You would think.

Not in my 6.x.

Craig

Post Reply