
0
Answered
Open file in current group from API
Hi
I'm writing a simple plugin, similar to GoTo File, but which works with already opened files.
The problem is that when I call
self.window.open_file(...)
file is being opened in random group, not always in active one.
How can I force file to be opened in currently active pane/group (event if it's already opened in other group)?
Thank you
Answer

0
Answer
Answered
Jon Skinner 13 years ago
There's a hidden flag that will allow this, you can pass 8 as the second argument to open file to trigger this behaviour. I'll add a named constant for it in the next build.

Answer
Answered
There's a hidden flag that will allow this, you can pass 8 as the second argument to open file to trigger this behaviour. I'll add a named constant for it in the next build.
Customer support service by UserEcho