diff gui/src/MainWindow.cpp @ 13562:a89aa9e05e19

editor: menu bar, run editor file in octave
author ttl <ttl@justmail.de>
date Sun, 31 Jul 2011 22:33:50 +0200
parents 248b897d9f36
children da49b128a4d3
line wrap: on
line diff
--- a/gui/src/MainWindow.cpp
+++ b/gui/src/MainWindow.cpp
@@ -95,7 +95,7 @@
          }
        m_lexerAPI->prepare();           // prepare API info ... this make take some time
     }
-  subWindow->setEditorLexer(m_lexer);   // set the already prepared lexer
+  subWindow->initEditor(m_octaveTerminal,m_lexer);   // init necessary informations for editor
 
   if ( fileName.isEmpty() )
     subWindow->newFile ();