[gnumeric] Improve function syntax tooltips. [#623317]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Improve function syntax tooltips. [#623317]
- Date: Thu, 1 Jul 2010 19:59:05 +0000 (UTC)
commit 15afc031a470793de26bc9430efc5713c3f0ad0f
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Thu Jul 1 13:59:17 2010 -0600
Improve function syntax tooltips. [#623317]
2010-07-01 Andreas J. Guelzow <aguelzow pyrshep ca>
* gnumeric-expr-entry.c (gee_check_tooltip): don't count args
in sub expressions.
NEWS | 1 +
src/widgets/ChangeLog | 5 +++++
src/widgets/gnumeric-expr-entry.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 938a72b..661df10 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Andreas:
* Save default search settings. [#105615]
* Improve configurable text export of numbers. [#126444]
* Improve horizontal fill. [#594193]
+ * Improve function syntax tooltips. [#623317]
--------------------------------------------------------------------------
Gnumeric 1.10.7
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index 2f1d3ee..da26d0b 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-01 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * gnumeric-expr-entry.c (gee_check_tooltip): don't count args
+ in sub expressions.
+
2010-06-28 Morten Welinder <terra gnome org>
* Release 1.10.7
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index fa76ef5..c49d515 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -814,7 +814,7 @@ gee_check_tooltip (GnmExprEntry *gee)
para--;
}
stuff++;
- } else if (*prefix == sep) {
+ } else if (*prefix == sep && para == 0) {
stuff = 0;
args++;
} else if (*prefix != ' ')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]