Code: Select all
; If I make an IDE tool to (re)open a PB source and place the cursor on a line,
; it works only if I open other "instances" of the IDE, but often I get crashes
; when closing all of them…
; If I use a single instance, like this
; ('zshShell' is to avoid "runprogram quote problems")
zshShell("open -a '"+ IDEpath$ +"' '" + PBsrcPath$ + "' --args -l " + LineNumber)
; the (single) IDE instance opens/shows the file, but doesn't place the cursor on the line…