FastColoredTextBox getCurrentEditorView() { IPythonEditorWindow ipw = _smartSession.SmartWindowManager.ActiveViewer as IPythonEditorWindow; if (ipw != null) { return(ipw.getTB()); } return(null); }