Commit 11252b02 authored by Jody Goldberg's avatar Jody Goldberg

- Select All and ctrl-A should be the same.

- cursor movement should accept pending input.
parent 6dca3ac1
2000-02-28 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (button_select_all) : Redraw after selection.
* src/selection.c (sheet_selection_walk_step) : Don't wrap when moving
the singleton cursor.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Shift tab
should be horizonzontal.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
- Shift tab should be horizonzontal.
- Shift/None Tab/Enter should accept pending input.
2000-02-28 Jody Goldberg <jgoldberg@home.com>
......
2000-02-28 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (button_select_all) : Redraw after selection.
* src/selection.c (sheet_selection_walk_step) : Don't wrap when moving
the singleton cursor.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Shift tab
should be horizonzontal.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
- Shift tab should be horizonzontal.
- Shift/None Tab/Enter should accept pending input.
2000-02-28 Jody Goldberg <jgoldberg@home.com>
......
2000-02-28 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (button_select_all) : Redraw after selection.
* src/selection.c (sheet_selection_walk_step) : Don't wrap when moving
the singleton cursor.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Shift tab
should be horizonzontal.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
- Shift tab should be horizonzontal.
- Shift/None Tab/Enter should accept pending input.
2000-02-28 Jody Goldberg <jgoldberg@home.com>
......
2000-02-28 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (button_select_all) : Redraw after selection.
* src/selection.c (sheet_selection_walk_step) : Don't wrap when moving
the singleton cursor.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Shift tab
should be horizonzontal.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
- Shift tab should be horizonzontal.
- Shift/None Tab/Enter should accept pending input.
2000-02-28 Jody Goldberg <jgoldberg@home.com>
......
2000-02-28 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (button_select_all) : Redraw after selection.
* src/selection.c (sheet_selection_walk_step) : Don't wrap when moving
the singleton cursor.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Shift tab
should be horizonzontal.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
- Shift tab should be horizonzontal.
- Shift/None Tab/Enter should accept pending input.
2000-02-28 Jody Goldberg <jgoldberg@home.com>
......
2000-02-28 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (button_select_all) : Redraw after selection.
* src/selection.c (sheet_selection_walk_step) : Don't wrap when moving
the singleton cursor.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Shift tab
should be horizonzontal.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
- Shift tab should be horizonzontal.
- Shift/None Tab/Enter should accept pending input.
2000-02-28 Jody Goldberg <jgoldberg@home.com>
......
2000-02-28 Jody Goldberg <jgoldberg@home.com>
* src/sheet-view.c (button_select_all) : Redraw after selection.
* src/selection.c (sheet_selection_walk_step) : Don't wrap when moving
the singleton cursor.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Shift tab
should be horizonzontal.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
- Shift tab should be horizonzontal.
- Shift/None Tab/Enter should accept pending input.
2000-02-28 Jody Goldberg <jgoldberg@home.com>
......
......@@ -769,6 +769,8 @@ gnumeric_sheet_key_mode_sheet (GnumericSheet *gsheet, GdkEventKey *event)
gboolean const direction = (event->state & GDK_SHIFT_MASK) ? FALSE : TRUE;
gboolean const horizontal = (event->keyval == GDK_KP_Enter ||
event->keyval == GDK_Return) ? FALSE : TRUE;
sheet_accept_pending_input (sheet);
sheet_selection_walk_step (sheet, direction, horizontal);
break;
}
......
......@@ -769,6 +769,8 @@ gnumeric_sheet_key_mode_sheet (GnumericSheet *gsheet, GdkEventKey *event)
gboolean const direction = (event->state & GDK_SHIFT_MASK) ? FALSE : TRUE;
gboolean const horizontal = (event->keyval == GDK_KP_Enter ||
event->keyval == GDK_Return) ? FALSE : TRUE;
sheet_accept_pending_input (sheet);
sheet_selection_walk_step (sheet, direction, horizontal);
break;
}
......
......@@ -128,7 +128,7 @@ sheet_view_redraw_headers (SheetView *sheet_view,
gsheet = GNUMERIC_SHEET (sheet_view->sheet_view);
if (col) {
int left = 0, right = INT_MAX;
int left = 0, right = INT_MAX-1;
if (r != NULL) {
int const size = r->end.col - r->start.col;
/* A rough heuristic guess of the number of when the
......@@ -151,7 +151,7 @@ sheet_view_redraw_headers (SheetView *sheet_view,
}
if (row) {
int top = 0, bottom = INT_MAX;
int top = 0, bottom = INT_MAX-1;
if (r != NULL) {
int const size = r->end.row - r->start.row;
/* A rough heuristic guess of the number of when the
......@@ -423,6 +423,7 @@ static void
button_select_all (GtkWidget *the_button, SheetView *sheet_view)
{
sheet_select_all (sheet_view->sheet);
sheet_redraw_all (sheet_view->sheet);
}
static void
......
......@@ -128,7 +128,7 @@ sheet_view_redraw_headers (SheetView *sheet_view,
gsheet = GNUMERIC_SHEET (sheet_view->sheet_view);
if (col) {
int left = 0, right = INT_MAX;
int left = 0, right = INT_MAX-1;
if (r != NULL) {
int const size = r->end.col - r->start.col;
/* A rough heuristic guess of the number of when the
......@@ -151,7 +151,7 @@ sheet_view_redraw_headers (SheetView *sheet_view,
}
if (row) {
int top = 0, bottom = INT_MAX;
int top = 0, bottom = INT_MAX-1;
if (r != NULL) {
int const size = r->end.row - r->start.row;
/* A rough heuristic guess of the number of when the
......@@ -423,6 +423,7 @@ static void
button_select_all (GtkWidget *the_button, SheetView *sheet_view)
{
sheet_select_all (sheet_view->sheet);
sheet_redraw_all (sheet_view->sheet);
}
static void
......
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