[latexila] Completion: adapt get_start_iter()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Completion: adapt get_start_iter()
- Date: Wed, 7 Jan 2015 13:51:12 +0000 (UTC)
commit 0d3477d6246a971a5c1cc3518cbf26893d1fd0a8
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Jan 7 14:41:06 2015 +0100
Completion: adapt get_start_iter()
configure.ac | 2 +-
src/completion.vala | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1a65fa1..6451dcf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ LT_INIT
# Update also the --target-glib option in src/Makefile.am.
GLIB_REQUIRED_VERSION="2.40"
GTK_REQUIRED_VERSION="3.14"
-GTKSOURCEVIEW_REQUIRED_VERSION="3.15.1"
+GTKSOURCEVIEW_REQUIRED_VERSION="3.15.3"
GTKSPELL_REQUIRED_VERSION="3.0.4"
VALA_REQUIRED_VERSION="0.25.4"
GEE_REQUIRED_VERSION="0.10"
diff --git a/src/completion.vala b/src/completion.vala
index a97636e..639e861 100644
--- a/src/completion.vala
+++ b/src/completion.vala
@@ -133,8 +133,9 @@ public class CompletionProvider : GLib.Object, SourceCompletionProvider
}
public bool get_start_iter (SourceCompletionContext context,
- SourceCompletionProposal proposal, TextIter iter)
+ SourceCompletionProposal proposal, out TextIter iter)
{
+ iter = {};
string? cmd = get_latex_command_at_iter (context.iter);
// In a LaTeX command argument, use the default implementation.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]