An editor-pane is made to do non-focus completion when your code calls the function editor:complete-with-non-focus .
editor-pane
editor:complete-with-non-focus