Selecting a Line in the Script Editor Window

Ray ray at linkit.com
Tue Apr 21 16:50:12 EDT 2015


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>
>





More information about the use-livecode mailing list