Selecting a Line in the Script Editor Window

Richard Gaskin ambassador at fourthworld.com
Tue Apr 21 16:44:19 EDT 2015


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>

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list