anjuta r4803 - in trunk: . plugins/language-support-cpp-java
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4803 - in trunk: . plugins/language-support-cpp-java
- Date: Thu, 26 Feb 2009 21:07:01 +0000 (UTC)
Author: jhs
Date: Thu Feb 26 21:07:01 2009
New Revision: 4803
URL: http://svn.gnome.org/viewvc/anjuta?rev=4803&view=rev
Log:
2009-02-26 Johannes Schmid <jhs gnome org>
* plugins/language-support-cpp-java/cpp-java-assist.c
(cpp_java_assist_create_word_completion_cache):
Fixed a race condition hang if the idle handler is called while the user
already deleted some characters and the resulting pre_word is too short.
Modified:
trunk/ChangeLog
trunk/plugins/language-support-cpp-java/cpp-java-assist.c
Modified: trunk/plugins/language-support-cpp-java/cpp-java-assist.c
==============================================================================
--- trunk/plugins/language-support-cpp-java/cpp-java-assist.c (original)
+++ trunk/plugins/language-support-cpp-java/cpp-java-assist.c Thu Feb 26 21:07:01 2009
@@ -528,7 +528,7 @@
cpp_java_assist_destroy_completion_cache (assist, FALSE);
- if (!assist->priv->editor_only)
+ if (!assist->priv->editor_only && assist->priv->pre_word && strlen(assist->priv->pre_word) > 3)
{
gchar *pattern = g_strconcat (assist->priv->pre_word, "%", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]