[meld] sourceview: PEP8



commit 33dc319c4f5899b20b0c856fb9e922a19d4e4058
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Thu Apr 5 06:09:48 2018 +1000

    sourceview: PEP8

 meld/sourceview.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/meld/sourceview.py b/meld/sourceview.py
index 2745dcaf..2979d101 100644
--- a/meld/sourceview.py
+++ b/meld/sourceview.py
@@ -132,10 +132,12 @@ class MeldSourceView(GtkSource.View):
         # We replace the default line movement behaviour of Alt+Up/Down
         (Gdk.KEY_Up, Gdk.ModifierType.MOD1_MASK),
         (Gdk.KEY_KP_Up, Gdk.ModifierType.MOD1_MASK),
-        (Gdk.KEY_KP_Up, Gdk.ModifierType.MOD1_MASK | Gdk.ModifierType.SHIFT_MASK),
+        (Gdk.KEY_KP_Up, Gdk.ModifierType.MOD1_MASK |
+            Gdk.ModifierType.SHIFT_MASK),
         (Gdk.KEY_Down, Gdk.ModifierType.MOD1_MASK),
         (Gdk.KEY_KP_Down, Gdk.ModifierType.MOD1_MASK),
-        (Gdk.KEY_KP_Down, Gdk.ModifierType.MOD1_MASK | Gdk.ModifierType.SHIFT_MASK),
+        (Gdk.KEY_KP_Down, Gdk.ModifierType.MOD1_MASK |
+            Gdk.ModifierType.SHIFT_MASK),
         # ...and Alt+Left/Right
         (Gdk.KEY_Left, Gdk.ModifierType.MOD1_MASK),
         (Gdk.KEY_KP_Left, Gdk.ModifierType.MOD1_MASK),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]