Added a comment.

2000-07-27  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c: Added a comment.

svn path=/trunk/; revision=4387
This commit is contained in:
Christopher James Lahey
2000-07-27 15:34:58 +00:00
committed by Chris Lahey
parent a25046c091
commit 46f952b2a5
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Added a comment.
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Fixed shift click selections.

View File

@ -341,6 +341,7 @@ void e_table_selection_model_do_something (ETableSelectionModel
old_end = MAX (selection->selection_start_row, selection->cursor_row) + 1;
new_start = MIN (selection->selection_start_row, row);
new_end = MAX (selection->selection_start_row, row) + 1;
/* This wouldn't work nearly so smoothly if one end of the selection held in place. */
if (old_start < new_start)
change_selection(selection, old_start, new_start, FALSE);
if (new_start < old_start)

View File

@ -341,6 +341,7 @@ void e_table_selection_model_do_something (ETableSelectionModel
old_end = MAX (selection->selection_start_row, selection->cursor_row) + 1;
new_start = MIN (selection->selection_start_row, row);
new_end = MAX (selection->selection_start_row, row) + 1;
/* This wouldn't work nearly so smoothly if one end of the selection held in place. */
if (old_start < new_start)
change_selection(selection, old_start, new_start, FALSE);
if (new_start < old_start)