Page 1 of 1

IDE tools

Posted: Thu Mar 28, 2024 2:31 pm
by Piero

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…