editors/TextViewer.py
changeset 1730 64d8f52bc8c8
parent 1637 6f4624687b89
child 1734 750eeb7230a1
--- a/editors/TextViewer.py	Fri Aug 11 15:18:19 2017 +0300
+++ b/editors/TextViewer.py	Mon Aug 14 19:13:01 2017 +0300
@@ -263,7 +263,7 @@
                         if dialog.ShowModal() == wx.ID_OK:
                             blockname = dialog.GetValue()
                         else:
-                            event.SetDragText("")                            
+                            event.SetDragText("")
                             return
                         dialog.Destroy()
                     if blockname.upper() in [name.upper() for name in self.Controler.GetProjectPouNames(self.Debug)]:
@@ -632,7 +632,7 @@
                     if len(self.CallStack) > 0:
                         current_call = self.CallStack.pop()
                     else:
-                        current_call = None                    
+                        current_call = None
             elif state == PRAGMA:
                 if line.endswith("}"):
                     self.SetStyling(current_pos - last_styled_pos, STC_PLC_EMPTY)
@@ -961,4 +961,3 @@
                 self.SetStyling(highlight_end_pos - highlight_start_pos, highlight_type)
                 self.StartStyling(highlight_start_pos, 0x00)
                 self.SetStyling(len(self.Editor.GetText()) - highlight_end_pos, wx.stc.STC_STYLE_DEFAULT)
-