# HG changeset patch # User Jacob Dawid # Date 1328092059 -3600 # Node ID c3b62d211b80e324d24bcd882d9c6ddecebaa3bb # Parent f13f4f4360cb48f53f241ee90e962f874f235216 .m-files can be directly run from the editor again. Autocompletion works again. * FileEditorMdiSubWindow.cpp: Uncommented commands to send run command. * MainWindow.cpp: Uncommented lines that initialize the editor with a lexer. diff -r f13f4f4360cb -r c3b62d211b80 gui/src/FileEditorMdiSubWindow.cpp --- a/gui/src/FileEditorMdiSubWindow.cpp Wed Feb 01 10:41:22 2012 +0100 +++ b/gui/src/FileEditorMdiSubWindow.cpp Wed Feb 01 11:27:39 2012 +0100 @@ -251,8 +251,8 @@ { if (m_editor->isModified ()) saveFile(m_fileName); - //m_terminalView->sendText (QString ("run \'%1\'\n").arg (m_fileName)); - //m_terminalView->widget ()->setFocus (); + m_terminalView->sendText (QString ("run \'%1\'\n").arg (m_fileName)); + m_terminalView->setFocus (); } diff -r f13f4f4360cb -r c3b62d211b80 gui/src/MainWindow.cpp --- a/gui/src/MainWindow.cpp Wed Feb 01 10:41:22 2012 +0100 +++ b/gui/src/MainWindow.cpp Wed Feb 01 11:27:39 2012 +0100 @@ -97,7 +97,7 @@ } m_lexerAPI->prepare(); // prepare API info ... this make take some time } - //subWindow->initEditor(m_terminalView, m_lexer, this); // init necessary informations for editor + subWindow->initEditor(m_terminalView, m_lexer, this); // init necessary informations for editor if ( fileName.isEmpty() ) subWindow->newFile ();