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

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

index 9cf0c81..ed2687f 100644 (file)
         {
          "listeners" : {
           "button_release_event" : "() => {\n\tthis.onCursorChanged();\n\n\treturn false;\n}",
         {
          "listeners" : {
           "button_release_event" : "() => {\n\tthis.onCursorChanged();\n\n\treturn false;\n}",
-          "key_press_event" : "() => {\n\tthis.onCursorChanged();\n\treturn false;\n}"
+          "key_press_event" : "() => {\n\tthis.onCursorChanged();\n\treturn false;\n}",
+          "key_release_event" : "() => {\n\t// in theory this should be after a change has been done..\n\t\n\n}"
          },
          "gboolean show_line_marks" : true,
          "id" : "sourceview",
          },
          "gboolean show_line_marks" : true,
          "id" : "sourceview",
index f2d1908..2f7c10a 100644 (file)
@@ -1035,6 +1035,11 @@ public class Xcls_WindowRooView : Object
                this.onCursorChanged();
                return false;
             });
                this.onCursorChanged();
                return false;
             });
+            this.el.key_release_event.connect( () => {
+               // in theory this should be after a change has been done..
+               
+            
+            });
         }
 
         // user defined functions
         }
 
         // user defined functions