An editor-pane does in-place completion when your code calls the function editor:complete-in-place .
editor-pane
editor:complete-in-place