on edit script - auto bring top and highlite on mouseUp

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

on edit script - auto bring top and highlite on mouseUp

Post by BarrySumpter » Sun Apr 01, 2012 6:14 am

Hi all,
When I rightClick Edit script on a button
is there a way to find the on MouseUp event
bring it to the top of the script editor in the IDE and hightlight it?
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

Re: on edit script - auto bring top and highlite on mouseUp

Post by snm » Sun Apr 01, 2012 11:55 am

Just click on the mouseUp handler on handler list of Script Editor.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: on edit script - auto bring top and highlite on mouseUp

Post by BarrySumpter » Sun Apr 01, 2012 12:37 pm

I want the IDE to do this automatically.
It's distracting and I loose my focus having to chase it down every time.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

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

Re: on edit script - auto bring top and highlite on mouseUp

Post by jacque » Sun Apr 01, 2012 7:49 pm

I'm not sure how the IDE could know which handler you want to display.

You can type "on mouseup" into the search box (type Cmd/Cntrl-F if it isn't showing) and do a one-time search. After that, Cmd-G will find it again until you change it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: on edit script - auto bring top and highlite on mouseUp

Post by dunbarx » Mon Apr 02, 2012 12:04 am

As Jacque says, how could the program know which handler in a script you are targeting?

What I do is place the handlers or functions that I am currently working one at the top. Invariably, I am returning to one or two of these over and over again as I work through some aspect of a project. Just relocate them above all the others, and they will be ready when you return to the script editor.

Craig Newman

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: on edit script - auto bring top and highlite on mouseUp

Post by BarrySumpter » Mon Apr 02, 2012 12:20 am

If anyone has a script that will allow me to access the IDE script editor
would you please post it?

I'll have a look around and see what trouble I can get into.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

Re: on edit script - auto bring top and highlite on mouseUp

Post by snm » Mon Apr 02, 2012 12:55 am

edit the script of objectName

Marek
[snm]

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: on edit script - auto bring top and highlite on mouseUp

Post by mwieder » Mon Apr 02, 2012 5:49 pm

and then with the line number of "on mouseUp" in tLine

Code: Select all

send "goLine" &&  tLine, "position", (1, -1) to group "Editor" of stack "revNewScriptEditor 1"

Post Reply