projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/Builder4/WindowRooView.bjs
[app.Builder.js]
/
src
/
Builder4
/
WindowRooView.vala
diff --git
a/src/Builder4/WindowRooView.vala
b/src/Builder4/WindowRooView.vala
index
e2b37aa
..
6906c41
100644
(file)
--- a/
src/Builder4/WindowRooView.vala
+++ b/
src/Builder4/WindowRooView.vala
@@
-933,6
+933,7
@@
public class Xcls_WindowRooView : Object
// my vars (def)
public bool loading;
public bool allow_node_scroll;
// my vars (def)
public bool loading;
public bool allow_node_scroll;
+ public JsRender.Node? node;
public string propSelected;
// ctor
public string propSelected;
// ctor
@@
-945,6
+946,7
@@
public class Xcls_WindowRooView : Object
// my vars (dec)
this.loading = true;
this.allow_node_scroll = true;
// my vars (dec)
this.loading = true;
this.allow_node_scroll = true;
+ this.node = null;
this.propSelected = "";
// set gobject values
this.propSelected = "";
// set gobject values
@@
-1105,18
+1107,20
@@
public class Xcls_WindowRooView : Object
public void nodeSelected (JsRender.Node? sel, bool scroll ) {
public void nodeSelected (JsRender.Node? sel, bool scroll ) {
-
+
// this is connected in widnowstate
// this is connected in widnowstate
- print("node selected\n");
- var buf = this.el.get_buffer();
-
- var sbuf = (Gtk.SourceBuffer) buf;
-
+
+ // not sure why....
while(Gtk.events_pending()) {
Gtk.main_iteration();
}
while(Gtk.events_pending()) {
Gtk.main_iteration();
}
+
+ print("node selected\n");
+ var buf = this.el.get_buffer();
+ var sbuf = (Gtk.SourceBuffer) buf;
+
// clear all the marks..
Gtk.TextIter start;
// clear all the marks..
Gtk.TextIter start;