Commit 8cf446f1 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg
Browse files

don't apply the borders from the corner cell to the whole region. Just the


2001-02-23  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
	  the corner cell to the whole region.  Just the content.
parent e4af5924
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
* src/sheet-control-gui.c (scg_comment_display) : We only need to be
sure that scg::selected is a comment if we are using it and no other
comment is visible.
......
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
* src/sheet-control-gui.c (scg_comment_display) : We only need to be
sure that scg::selected is a comment if we are using it and no other
comment is visible.
......
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
* src/sheet-control-gui.c (scg_comment_display) : We only need to be
sure that scg::selected is a comment if we are using it and no other
comment is visible.
......
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
* src/sheet-control-gui.c (scg_comment_display) : We only need to be
sure that scg::selected is a comment if we are using it and no other
comment is visible.
......
2001-02-23 Jody Goldberg <jgoldberg@home.com>
* src/sheet-merge.c (sheet_merge_add) : don't apply the borders from
the corner cell to the whole region. Just the content.
* src/sheet-control-gui.c (scg_comment_display) : We only need to be
sure that scg::selected is a comment if we are using it and no other
comment is visible.
......
......@@ -80,6 +80,8 @@ sheet_merge_add (WorkbookControl *wbc,
}
if (clear) {
int i;
sheet_redraw_cell_region (sheet,
r->start.col, r->start.row,
r->end.col, r->end.row);
......@@ -99,9 +101,11 @@ sheet_merge_add (WorkbookControl *wbc,
CLEAR_NOCHECKARRAY);
/* Apply the corner style to the entire region */
style = sheet_style_get (sheet, r->start.col, r->start.row);
mstyle_ref (style);
sheet_style_set_range (sheet, r, style);
style = mstyle_copy (sheet_style_get (sheet, r->start.col,
r->start.row));
for (i = MSTYLE_BORDER_TOP; i <= MSTYLE_BORDER_DIAGONAL; i++)
mstyle_unset_element (style, i);
sheet_style_apply_range (sheet, r, style);
}
r_copy = range_copy (r);
......
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