projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d62433a
)
src/Palete/CompletionProvider.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 21 Dec 2015 09:32:00 +0000
(17:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 21 Dec 2015 09:32:00 +0000
(17:32 +0800)
src/Palete/CompletionProvider.vala
patch
|
blob
|
history
diff --git
a/src/Palete/CompletionProvider.vala
b/src/Palete/CompletionProvider.vala
index
279e342
..
df0a9fd
100644
(file)
--- a/
src/Palete/CompletionProvider.vala
+++ b/
src/Palete/CompletionProvider.vala
@@
-36,7
+36,7
@@
namespace Palete {
public List<SourceCompletionItem>? fetchMatches(SourceCompletionContext context, out bool has_matches)
{
-
var
has_matches = false;
+ has_matches = false;
if (this.windowstate == null) {
this.windowstate = this.editor.window.windowstate;
@@
-86,6
+86,7
@@
namespace Palete {
public void populate (SourceCompletionContext context)
{
+ bool has_matches = false;
this.fetchMatches(context, out has_matches);
if (!has_matches) {
return;