src/Builder4/WindowRooView.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 7 Jun 2016 10:24:13 +0000 (18:24 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 7 Jun 2016 10:24:13 +0000 (18:24 +0800)
src/Builder4/WindowRooView.vala

src/Builder4/WindowRooView.bjs
src/Builder4/WindowRooView.vala

index 3a7f3e0..bf7682b 100644 (file)
         {
          "listeners" : {
           "button_release_event" : "() => {\n\tthis.onCursorChanged();\n\n\treturn false;\n}",
-          "key_press_event" : "() {\n\tthis.updateGreySelection();\n\n}"
+          "key_press_event" : "() => {\n\tthis.onCursorChanged();\n\treturn false;\n}"
          },
          "gboolean show_line_marks" : true,
          "id" : "sourceview",
index 3b1e516..5094b74 100644 (file)
@@ -1031,9 +1031,9 @@ public class Xcls_WindowRooView : Object
             
                return false;
             });
-            this.el.key_press_event.connect( () {
-               this.updateGreySelection();
-            
+            this.el.key_press_event.connect( () => {
+               this.onCursorChanged();
+               return false;
             });
         }