Salome HOME
Add setCurrentLine to PyEditor API.
[modules/gui.git] / tools / PyEditor / src / PyEditor_Window.cxx
index cfeebe2bdc60a7efdc203a49bde4034461851fbc..33d6219476b8a970ca416b02b51f99b444f94011 100644 (file)
@@ -471,6 +471,16 @@ bool PyEditor_Window::saveFile( const QString& filePath, bool verbose )
   return true;
 }
 
+
+/*!
+  Get editor.
+  \return Editor widget.
+*/
+PyEditor_Widget* PyEditor_Window::editor()
+{
+  return myEditor;
+}
+
 /*!
   Slot, called when user clicks "Help" button in "Preferences" dialog box.
 */