[gedit-code-assistance/wip/completion] Add context parameter
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-code-assistance/wip/completion] Add context parameter
- Date: Fri, 11 Apr 2014 15:35:08 +0000 (UTC)
commit 8983336c1ac66924d210f189fb21ae55530eedcf
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Fri Apr 11 17:34:56 2014 +0200
Add context parameter
src/gca-backend.vala | 4 ++--
src/gca-dbus.vala | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gca-backend.vala b/src/gca-backend.vala
index 5254754..83018f7 100644
--- a/src/gca-backend.vala
+++ b/src/gca-backend.vala
@@ -212,7 +212,7 @@ class Backend : Object
column = cursor.column
};
- d_service.parse.begin(path, data_path, dbuscurs, options, (obj, res) => {
+ d_service.parse.begin(path, data_path, dbuscurs, "", options, (obj, res) => {
ObjectPath ret;
try
@@ -245,7 +245,7 @@ class Backend : Object
column = cursor.column
};
- d_project.parse_all.begin(path, docs, dbuscurs, options, (obj, res) => {
+ d_project.parse_all.begin(path, docs, dbuscurs, "", options, (obj, res) => {
DBus.RemoteDocument[] ret;
try
diff --git a/src/gca-dbus.vala b/src/gca-dbus.vala
index f7c7eef..bddba98 100644
--- a/src/gca-dbus.vala
+++ b/src/gca-dbus.vala
@@ -72,6 +72,7 @@ interface Service : Object
public abstract async ObjectPath parse(string path,
string data_path,
SourceLocation cursor,
+ string context,
HashTable<string, Variant> options) throws DBusError;
public abstract async void dispose(string path) throws DBusError;
@@ -85,6 +86,7 @@ interface Project : Object
parse_all(string path,
OpenDocument[] documents,
SourceLocation cursor,
+ string context,
HashTable<string, Variant> options) throws DBusError;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]