Changeset 26970b3 in sasview for src/sas/qtgui/Utilities/ModelEditor.py
- Timestamp:
- May 31, 2018 3:27:34 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- caefb8a
- Parents:
- eca7c6f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/ModelEditor.py
r8b480d27 r26970b3 1 1 from PyQt5 import QtCore 2 2 from PyQt5 import QtWidgets 3 4 from sas.qtgui.Utilities.PythonSyntax import PythonHighlighter5 3 6 4 from sas.qtgui.Utilities.UI.ModelEditor import Ui_ModelEditor … … 26 24 Here - just the highlighter connected to the text edit. 27 25 """ 26 # Weird import location - workaround for a bug in Sphinx choking on 27 # importing QSyntaxHighlighter 28 # DO NOT MOVE TO TOP 29 from sas.qtgui.Utilities.PythonSyntax import PythonHighlighter 28 30 self.highlight = PythonHighlighter(self.txtEditor.document()) 29 31
Note: See TracChangeset
for help on using the changeset viewer.