Scite Open File In New Window |
|
The original version was a Lua function. After studying more scite commands I realized the desired effect could be implemented with SciTE command semantics. I thought that explaining this part of the story would be a waste of everyone's time.
This solves my problem of having to navigate the open file dialog to find a file that is already open in the editor. :-)
command.name.42.*=Open File In New &Window command.subsystem.42.*=2 command.42.*=scite.exe "$(FilePath)" -goto:$(SelectionStartLine) command.shortcut.42.*=Ctrl+Shift+Alt+O
This assumes you have SciTE configured so that check.if.open=0.
Obviously scite.exe is not cross-platform friendly, and you may want a different shortcut.
--DdelvinJohnson--