Commit 7e863485 authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

Suppress range markers that should be in an external workbook. [Part of #680718]

2012-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* gnm_expr_entry_colour_ranges: don't miscolour a range in the
	current workbook that is really in an external workbook.
parent 04acc520
......@@ -6,6 +6,8 @@ Andreas:
* Add FLIP function. [#680511]
* Allow unordered abscissae in INTERPOLATION. [#680510]
* Fix INTERPOLATION crash. [#680711]
* Suppress range markers that should be in an external workbook.
[Part of #680718]
Jean:
* Fix component references issues. [#680190]
......
2012-07-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gnm_expr_entry_colour_ranges: don't miscolour a range in the
current workbook that is really in an external workbook.
2012-07-15 Morten Welinder <terra@gnome.org>
* Release 1.11.5
......
......@@ -617,6 +617,11 @@ gnm_expr_entry_colour_ranges (GnmExprEntry *gee, int start, int end, GnmRangeRef
Sheet *sheet = scg_sheet (gee->scg);
SheetControlGUI *scg = NULL;
if (rr->a.sheet->workbook != gee->sheet->workbook) {
/* We should show the range in an external workbook! */
return;
}
if (*attrs == NULL)
*attrs = pango_attr_list_new ();
......@@ -694,7 +699,7 @@ gee_scan_for_range (GnmExprEntry *gee)
g_hash_table_insert (hash, rrr, GINT_TO_POINTER (this_colour));
insert_cursor = TRUE;
rtext = NULL;
} else {
} else {
this_colour = GPOINTER_TO_INT (val);
insert_cursor = FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment