[anjuta] snippet-manager: Auto-completion doesn't reproduce characters.



commit cb6377156c0883645f5106d857f8f90568ec814c
Author: Dragos Dena <dragos dena gmail com>
Date:   Thu Jan 13 05:51:44 2011 +0200

    snippet-manager: Auto-completion doesn't reproduce characters.

 plugins/snippets-manager/snippets-provider.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/snippets-manager/snippets-provider.c b/plugins/snippets-manager/snippets-provider.c
index 180bf8a..8645f0d 100644
--- a/plugins/snippets-manager/snippets-provider.c
+++ b/plugins/snippets-manager/snippets-provider.c
@@ -648,13 +648,13 @@ snippets_provider_populate (IAnjutaProvider *self,
 	if (priv->request)
 	{
 		/* Save the new cursor as the starting one */
-/*		priv->start_iter = get_start_iter_for_cursor (IANJUTA_EDITOR (priv->editor_assist),*/
-/*		                                              cursor);*/
+		priv->start_iter = get_start_iter_for_cursor (IANJUTA_EDITOR (priv->editor_assist),
+		                                              cursor);
 		/* TODO - seems to feel better if it starts at the current cursor position.
 		   Keeping the old method also if it will be decided to use that method.
 		   Note: get_start_iter_for_cursor goes back in the text until it finds a
 		   separator. */
-		priv->start_iter = ianjuta_iterable_clone (cursor, NULL);
+		// priv->start_iter = ianjuta_iterable_clone (cursor, NULL);
 		priv->request = FALSE;
 
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]