Open at line from inspector opens default script editor, not system default for ink files. #10
Labels
bug
help wanted
requires inky update
This task requires a change to be made in the Inky repo before it can be addressed.
Current call uses UnityEditorInternal.InternalEditorUtility.OpenFileAtLineExternal, which treats the file as a script file. Ideal behaviour is to open ink files using system default program.
AssetDatabase.OpenAsset does this, but passing in a line number doesn't work, probably because Unity parses the file as a DefaultAsset, rather than a TextAsset.
I've tinkered a bit, but I've got no solutions for this - if anybody does, I'd love to hear it.
The text was updated successfully, but these errors were encountered: