Commit 2862b796 authored by Almer S. Tigelaar's avatar Almer S. Tigelaar Committed by Almer S. Tigelaar

Rename to sheet_selection_reset.

2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>

	* src/selection.c, src/selection.h:
	(sheet_selection_reset_only): Rename to sheet_selection_reset.

	* src/cmd-edit.c: s/sheet_selection_reset_only/sheet_selection_reset.
	* src/commands.c: Ditto.
	* src/gnumeric-sheet.c: Ditto.
	* src/item-grid.c: Ditto.
	* src/sheet.c: Ditto.
	* src/sheet-control-gui.c: Ditto.
	* src/xml-io.c: Ditto.

2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>

	* ms-excel-read.c (ms_excel_read_selection):
	Rename sheet_selection_reset_only to sheet_selection_reset.

2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>

	* xml2.c
	(xml2ParseSelection): Rename sheet_selection_reset_only
	to sheet_selection_reset.
parent 0acb7687
2001-01-30 Almer S. Tigelaar <almer1@dds.nl>
* src/selection.c, src/selection.h:
(sheet_selection_reset_only): Rename to sheet_selection_reset.
* src/cmd-edit.c: s/sheet_selection_reset_only/sheet_selection_reset.
* src/commands.c: Ditto.
* src/gnumeric-sheet.c: Ditto.
* src/item-grid.c: Ditto.
* src/sheet.c: Ditto.
* src/sheet-control-gui.c: Ditto.
* src/xml-io.c: Ditto.
2001-01-29 Almer S. Tigelaar <almer1@dds.nl>
* src/sheet.h: Add flags for insert cols/rows and paste special.
......
2001-01-30 Almer S. Tigelaar <almer1@dds.nl>
* src/selection.c, src/selection.h:
(sheet_selection_reset_only): Rename to sheet_selection_reset.
* src/cmd-edit.c: s/sheet_selection_reset_only/sheet_selection_reset.
* src/commands.c: Ditto.
* src/gnumeric-sheet.c: Ditto.
* src/item-grid.c: Ditto.
* src/sheet.c: Ditto.
* src/sheet-control-gui.c: Ditto.
* src/xml-io.c: Ditto.
2001-01-29 Almer S. Tigelaar <almer1@dds.nl>
* src/sheet.h: Add flags for insert cols/rows and paste special.
......
2001-01-30 Almer S. Tigelaar <almer1@dds.nl>
* src/selection.c, src/selection.h:
(sheet_selection_reset_only): Rename to sheet_selection_reset.
* src/cmd-edit.c: s/sheet_selection_reset_only/sheet_selection_reset.
* src/commands.c: Ditto.
* src/gnumeric-sheet.c: Ditto.
* src/item-grid.c: Ditto.
* src/sheet.c: Ditto.
* src/sheet-control-gui.c: Ditto.
* src/xml-io.c: Ditto.
2001-01-29 Almer S. Tigelaar <almer1@dds.nl>
* src/sheet.h: Add flags for insert cols/rows and paste special.
......
2001-01-30 Almer S. Tigelaar <almer1@dds.nl>
* src/selection.c, src/selection.h:
(sheet_selection_reset_only): Rename to sheet_selection_reset.
* src/cmd-edit.c: s/sheet_selection_reset_only/sheet_selection_reset.
* src/commands.c: Ditto.
* src/gnumeric-sheet.c: Ditto.
* src/item-grid.c: Ditto.
* src/sheet.c: Ditto.
* src/sheet-control-gui.c: Ditto.
* src/xml-io.c: Ditto.
2001-01-29 Almer S. Tigelaar <almer1@dds.nl>
* src/sheet.h: Add flags for insert cols/rows and paste special.
......
2001-01-30 Almer S. Tigelaar <almer1@dds.nl>
* src/selection.c, src/selection.h:
(sheet_selection_reset_only): Rename to sheet_selection_reset.
* src/cmd-edit.c: s/sheet_selection_reset_only/sheet_selection_reset.
* src/commands.c: Ditto.
* src/gnumeric-sheet.c: Ditto.
* src/item-grid.c: Ditto.
* src/sheet.c: Ditto.
* src/sheet-control-gui.c: Ditto.
* src/xml-io.c: Ditto.
2001-01-29 Almer S. Tigelaar <almer1@dds.nl>
* src/sheet.h: Add flags for insert cols/rows and paste special.
......
2001-01-30 Almer S. Tigelaar <almer1@dds.nl>
* ms-excel-read.c (ms_excel_read_selection):
Rename sheet_selection_reset_only to sheet_selection_reset.
2001-01-17 Michael Meeks <michael@helixcode.com>
* ms-escher.c (ms_escher_read_Blip): fix eog oafiid.
......
......@@ -3237,7 +3237,7 @@ ms_excel_read_selection (ExcelSheet *sheet, BiffQuery *q)
return;
}
sheet_selection_reset_only (sheet->gnum_sheet);
sheet_selection_reset (sheet->gnum_sheet);
for (refs = q->data + 9; num_refs > 0; refs += 6, num_refs--) {
int const start_row = MS_OLE_GET_GUINT16(refs + 0);
int const start_col = MS_OLE_GET_GUINT8(refs + 4);
......
2001-01-30 Almer S. Tigelaar <almer1@dds.nl>
* xml2.c
(xml2ParseSelection): Rename sheet_selection_reset_only
to sheet_selection_reset.
2001-01-07 Jon K Hellan <hellan@acm.org>
* xml2.c: Parse print margins.
......
......@@ -593,7 +593,7 @@ xml2ParseSelection (XML2ParseState *state, CHAR const **attrs)
{
int col = -1, row = -1;
sheet_selection_reset_only (state->sheet);
sheet_selection_reset (state->sheet);
for (; attrs[0] && attrs[1] ; attrs += 2)
if (xml2ParseAttrInt (attrs, "CursorCol", &col)) ;
......
2001-01-30 Almer S. Tigelaar <almer1@dds.nl>
* xml2.c
(xml2ParseSelection): Rename sheet_selection_reset_only
to sheet_selection_reset.
2001-01-07 Jon K Hellan <hellan@acm.org>
* xml2.c: Parse print margins.
......
......@@ -593,7 +593,7 @@ xml2ParseSelection (XML2ParseState *state, CHAR const **attrs)
{
int col = -1, row = -1;
sheet_selection_reset_only (state->sheet);
sheet_selection_reset (state->sheet);
for (; attrs[0] && attrs[1] ; attrs += 2)
if (xml2ParseAttrInt (attrs, "CursorCol", &col)) ;
......
......@@ -50,7 +50,7 @@ cmd_select_all (Sheet *sheet)
g_return_if_fail (sheet != NULL);
g_return_if_fail (IS_SHEET (sheet));
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
sheet_selection_add_range (sheet, 0, 0, 0, 0,
SHEET_MAX_COLS-1, SHEET_MAX_ROWS-1);
......@@ -69,7 +69,7 @@ cmd_select_cur_row (Sheet *sheet)
g_return_if_fail (sheet != NULL);
g_return_if_fail (IS_SHEET (sheet));
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
sheet_selection_add_range (sheet,
sheet->edit_pos.col, sheet->edit_pos.row,
0, sheet->edit_pos.row,
......@@ -89,7 +89,7 @@ cmd_select_cur_col (Sheet *sheet)
g_return_if_fail (sheet != NULL);
g_return_if_fail (IS_SHEET (sheet));
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
sheet_selection_add_range (sheet,
sheet->edit_pos.col, sheet->edit_pos.row,
sheet->edit_pos.col, 0,
......@@ -120,7 +120,7 @@ cmd_select_cur_array (Sheet *sheet)
if (array == NULL)
return;
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
/*
* leave the edit cell where it is,
* select the entire array.
......@@ -172,7 +172,7 @@ cmd_select_cur_depends (Sheet *sheet)
if (deps == NULL)
return;
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
/* Short circuit */
if (g_list_length (deps) == 1) {
......
......@@ -2061,7 +2061,7 @@ cmd_paste_copy_undo (GnumericCommand *cmd, WorkbookControl *wbc)
me->has_been_through_cycle = TRUE;
/* Make the newly pasted content the selection (this queues a redraw) */
sheet_selection_reset_only (me->dst.sheet);
sheet_selection_reset (me->dst.sheet);
sheet_selection_add_range (me->dst.sheet,
me->dst.range.start.col, me->dst.range.start.row,
me->dst.range.start.col, me->dst.range.start.row,
......@@ -2167,7 +2167,7 @@ cmd_autofill_undo (GnumericCommand *cmd, WorkbookControl *wbc)
return TRUE;
/* Make the newly pasted content the selection (this queues a redraw) */
sheet_selection_reset_only (me->dst.sheet);
sheet_selection_reset (me->dst.sheet);
sheet_selection_add_range (me->dst.sheet,
me->base_col, me->base_row,
me->base_col, me->base_row,
......@@ -2216,7 +2216,7 @@ cmd_autofill_redo (GnumericCommand *cmd, WorkbookControl *wbc)
me->end_col, me->end_row);
/* Make the newly filled content the selection (this queues a redraw) */
sheet_selection_reset_only (me->dst.sheet);
sheet_selection_reset (me->dst.sheet);
sheet_selection_add_range (me->dst.sheet,
me->base_col, me->base_row,
me->base_col, me->base_row,
......
......@@ -73,7 +73,7 @@ move_cursor (GnumericSheet *gsheet, int col, int row, gboolean clear_selection)
*/
if (clear_selection)
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
/* Set the cursor BEFORE making it visible to decrease flicker */
workbook_finish_editing (gsheet->scg->wbcg, TRUE);
......
......@@ -73,7 +73,7 @@ move_cursor (GnumericSheet *gsheet, int col, int row, gboolean clear_selection)
*/
if (clear_selection)
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
/* Set the cursor BEFORE making it visible to decrease flicker */
workbook_finish_editing (gsheet->scg->wbcg, TRUE);
......
......@@ -793,7 +793,7 @@ item_grid_button_1 (SheetControlGUI *scg, GdkEventButton *event,
workbook_finish_editing (gsheet->scg->wbcg, TRUE);
if (!(event->state & (GDK_CONTROL_MASK|GDK_SHIFT_MASK)))
sheet_selection_reset_only (scg->sheet);
sheet_selection_reset (scg->sheet);
item_grid->selecting = ITEM_GRID_SELECTING_CELL_RANGE;
......
......@@ -577,7 +577,7 @@ sheet_selection_free (Sheet *sheet)
* be taken care on the calling routine.
*/
void
sheet_selection_reset_only (Sheet *sheet)
sheet_selection_reset (Sheet *sheet)
{
GList *list, *tmp;
......
......@@ -21,7 +21,7 @@ void sheet_selection_add_range (Sheet *sheet,
int base_col, int base_row,
int move_col, int move_row);
void sheet_selection_reset_only (Sheet *sheet);
void sheet_selection_reset (Sheet *sheet);
void sheet_selection_free (Sheet *sheet);
char *sheet_selection_to_string (Sheet *sheet, gboolean include_sheet_name_prefix);
......
......@@ -405,7 +405,7 @@ scg_colrow_select (SheetControlGUI *scg, gboolean is_cols,
}
} else {
if (!rangesel && !(modifiers & GDK_CONTROL_MASK))
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
if (is_cols) {
if (rangesel)
......
......@@ -3678,7 +3678,7 @@ sheet_clone_selection (Sheet const *src, Sheet *dst)
return;
/* A new sheet has A1 selected by default */
sheet_selection_reset_only (dst);
sheet_selection_reset (dst);
selections = g_list_copy (src->selections);
selections = g_list_reverse (selections);
......
......@@ -518,7 +518,7 @@ xml_read_selection_info (XmlParseContext *ctxt, Sheet *sheet, xmlNodePtr tree)
if (selections == NULL)
return;
sheet_selection_reset_only (sheet);
sheet_selection_reset (sheet);
for (sel = selections->childs; sel; sel = sel->next) {
if (xml_read_range (sel, &r))
sheet_selection_add_range (sheet,
......
......@@ -593,7 +593,7 @@ xml2ParseSelection (XML2ParseState *state, CHAR const **attrs)
{
int col = -1, row = -1;
sheet_selection_reset_only (state->sheet);
sheet_selection_reset (state->sheet);
for (; attrs[0] && attrs[1] ; attrs += 2)
if (xml2ParseAttrInt (attrs, "CursorCol", &col)) ;
......
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