Richmond - you've got some interesting stacks in this bundle. I'll explore ways of moving scripts over to a normal field in a stack to work with them there if nobody posts any ways to select a line in Livecode's script editor window. Thanks for the idea!

On 4/21/2015 10:01 PM, Richmond wrote:
On 21/04/15 22:23, Ray wrote:
Does anybody no of a way to select a line in the script editor window?

This doesn't work:
   edit script of this stack
set the hilitedLine of fld "Script" of stack "RevNewScriptEdtor 1" to 542

Ideally this will also scroll to the selected line.

Many thanks for any ideas on this!


Well, that is a bit self-referential, almost incestuous.

What you might like to try is loading the script into a textField, mucking around
with it there, and then popping it back into the script.

Demo stack here: https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0

file "SH.zip"

this does NOT select a line, but what it DOES DO is edit a script script-wise: you should
not really have any problems working onwards from there.

really very straightforward :)

Richmond.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to