added createConnection to CodeEditor