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:
committed by
Chris Lahey
parent
a25046c091
commit
46f952b2a5
@ -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.
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user