Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add setCurrentLine to PyEditor API.
[modules/gui.git]
/
tools
/
PyEditor
/
src
/
PyEditor_Window.cxx
diff --git
a/tools/PyEditor/src/PyEditor_Window.cxx
b/tools/PyEditor/src/PyEditor_Window.cxx
index cfeebe2bdc60a7efdc203a49bde4034461851fbc..33d6219476b8a970ca416b02b51f99b444f94011 100644
(file)
--- a/
tools/PyEditor/src/PyEditor_Window.cxx
+++ b/
tools/PyEditor/src/PyEditor_Window.cxx
@@
-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.
*/