Very nice Richard. I wasn't aware of this. Too bad it's not working. I've asked to be informed when it's fixed.

Thanks

On 4/21/2015 10:44 PM, Richard Gaskin wrote:
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.

The Dictionary notes that a second optional argument to the editScript message may contain the line and character offsets for the script editor to open at, but unfortunately a bug in the IDE prevents that from working:

<http://quality.runrev.com/show_bug.cgi?id=13588>



_______________________________________________
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