controls/CustomStyledTextCtrl.py
changeset 1878 fb73a6b6622d
parent 1847 6198190bc121
child 1881 091005ec69c4
--- a/controls/CustomStyledTextCtrl.py	Thu Oct 19 10:57:35 2017 +0300
+++ b/controls/CustomStyledTextCtrl.py	Thu Oct 19 11:03:03 2017 +0300
@@ -97,10 +97,9 @@
             if not event.Dragging():
                 x, _y = event.GetPosition()
                 margin_width = reduce(
-                        lambda x, y: x + y,
-                        [self.GetMarginWidth(i)
-                         for i in xrange(3)],
-                        0)
+                    lambda x, y: x + y,
+                    [self.GetMarginWidth(i) for i in xrange(3)],
+                    0)
                 if x <= margin_width:
                     self.SetCursor(wx.StockCursor(wx.CURSOR_ARROW))
                 else: