comparison src/view_file.h @ 601:93c6dc4c537b

Add a way to invert the current selection. An item labeled "Invert selection" was added to the Select submenu in the main menu.
author zas_
date Wed, 07 May 2008 22:48:30 +0000
parents d31008c98f10
children 6e9413e92be5
comparison
equal deleted inserted replaced
600:9c28465c95d1 601:93c6dc4c537b
40 GList *vf_selection_get_list(ViewFile *vf); 40 GList *vf_selection_get_list(ViewFile *vf);
41 GList *vf_selection_get_list_by_index(ViewFile *vf); 41 GList *vf_selection_get_list_by_index(ViewFile *vf);
42 42
43 void vf_select_all(ViewFile *vf); 43 void vf_select_all(ViewFile *vf);
44 void vf_select_none(ViewFile *vf); 44 void vf_select_none(ViewFile *vf);
45 void vf_select_invert(ViewFile *vf);
45 void vf_select_by_fd(ViewFile *vf, FileData *fd); 46 void vf_select_by_fd(ViewFile *vf, FileData *fd);
46 47
47 void vf_mark_to_selection(ViewFile *vf, gint mark, MarkToSelectionMode mode); 48 void vf_mark_to_selection(ViewFile *vf, gint mark, MarkToSelectionMode mode);
48 void vf_selection_to_mark(ViewFile *vf, gint mark, SelectionToMarkMode mode); 49 void vf_selection_to_mark(ViewFile *vf, gint mark, SelectionToMarkMode mode);
49 50