About the selection, since the editor doesn't have focus, the cursor wouldn't show, so it looks like nothing is happening