projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be4aa7
)
src/Builder4/Editor.bjs
author
Alan
<alan@roojs.com>
Thu, 2 Jun 2022 06:54:16 +0000
(14:54 +0800)
committer
Alan
<alan@roojs.com>
Thu, 2 Jun 2022 06:54:16 +0000
(14:54 +0800)
src/Builder4/Editor.vala
src/Builder4/Editor.bjs
patch
|
blob
|
history
src/Builder4/Editor.vala
patch
|
blob
|
history
diff --git
a/src/Builder4/Editor.bjs
b/src/Builder4/Editor.bjs
index
be1affa
..
fb9f300
100644
(file)
--- a/
src/Builder4/Editor.bjs
+++ b/
src/Builder4/Editor.bjs
@@
-589,7
+589,12
@@
],
"| return_type reset" : [
"() {",
- "",
+ "\t this.file = null; ",
+ " this.ptype = \"\";",
+ " this.key = \"\";",
+ " this.node = null;",
+ "\tthis.searchcontext = null;",
+ " ",
"}",
""
],
diff --git
a/src/Builder4/Editor.vala
b/src/Builder4/Editor.vala
index
36ea07c
..
be7ecc1
100644
(file)
--- a/
src/Builder4/Editor.vala
+++ b/
src/Builder4/Editor.vala
@@
-169,7
+169,12
@@
public class Editor : Object
}
public return_type reset () {
-
+ this.file = null;
+ this.ptype = "";
+ this.key = "";
+ this.node = null;
+ this.searchcontext = null;
+
}
public void forwardSearch (bool change_focus) {