Closed macMikey closed 1 year ago
the stack exists in the editors subfolder, the way it does for the PB/PL/PG
what doesn't work:
metadata itemArray.editor is "/editors/com.livecode.pi.navRAD"
metadata itemArray.editor is "editors/com.livecode.pi.navRAD"
found in revInspectorBehavior.livecodescript
:
# open editor stack if it exists
if there is not a file tEditorStackPath then
# check if an extension has provided its own editor
# it is named <id>.editor.editorName
local tId, tPath
set the itemdelimiter to "."
put item 1 to -3 of pEditor into tId
put revIDEExtensionProperty(tId, "install_path") into tPath
put tPath & "/editors/" & pEditor & ".livecode" into tEditorStackPath
put tPath & "/editors/" & pEditor & ".behavior.livecodescript" into tEditorBehaviorPath
end if
so the rule is:
.lcb
filemetadata itemArray.editor is "com.livecode.widget.navRad.editor.navData"
Bravo.