20 # |
20 # |
21 # You should have received a copy of the GNU General Public License |
21 # You should have received a copy of the GNU General Public License |
22 # along with this program; if not, write to the Free Software |
22 # along with this program; if not, write to the Free Software |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 |
24 |
|
25 |
|
26 from __future__ import absolute_import |
25 import re |
27 import re |
26 from types import * |
28 from types import * |
27 |
29 |
28 import wx |
30 import wx |
29 import wx.stc |
31 import wx.stc |
30 |
32 |
31 from graphics.GraphicCommons import ERROR_HIGHLIGHT, SEARCH_RESULT_HIGHLIGHT, REFRESH_HIGHLIGHT_PERIOD |
33 from graphics.GraphicCommons import ERROR_HIGHLIGHT, SEARCH_RESULT_HIGHLIGHT, REFRESH_HIGHLIGHT_PERIOD |
32 from plcopen.structures import ST_BLOCK_START_KEYWORDS, IEC_BLOCK_START_KEYWORDS, LOCATIONDATATYPES |
34 from plcopen.structures import ST_BLOCK_START_KEYWORDS, IEC_BLOCK_START_KEYWORDS, LOCATIONDATATYPES |
33 from EditorPanel import EditorPanel |
35 from editors.EditorPanel import EditorPanel |
34 from controls.CustomStyledTextCtrl import CustomStyledTextCtrl, faces, GetCursorPos |
36 from controls.CustomStyledTextCtrl import CustomStyledTextCtrl, faces, GetCursorPos |
35 |
37 |
36 # ------------------------------------------------------------------------------- |
38 # ------------------------------------------------------------------------------- |
37 # Textual programs Viewer class |
39 # Textual programs Viewer class |
38 # ------------------------------------------------------------------------------- |
40 # ------------------------------------------------------------------------------- |