[gnumeric] skip regular parentheses and unknown functions



commit 526044428d08061a66d0edd53ba64b03f20483e7
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Mon Jun 14 21:37:44 2010 -0600

    skip regular parentheses and unknown functions
    
    2010-06-14  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* gnumeric-expr-entry.c (gee_check_tooltip): skip regular
    	  parentheses and unknown functions.

 src/widgets/ChangeLog             |    5 +++++
 src/widgets/gnumeric-expr-entry.c |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index 8245ed2..e68946c 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,5 +1,10 @@
 2010-06-14  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* gnumeric-expr-entry.c (gee_check_tooltip): skip regular
+	  parentheses and unknown functions.
+
+2010-06-14  Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* gnumeric-expr-entry.c (cb_gee_notify_cursor_position):
 	  check whether a tool tip would be appropriate
 	(gee_set_tooltip): add an args argument and implement
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index df42486..ac49179 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -766,7 +766,8 @@ gee_check_tooltip (GnmExprEntry *gee)
 						return;
 					}
 				}
-				break;
+				args = 0;
+				para--;
 			}
 		} else if (*prefix == sep) {
 			args++;



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