-
Almer S. Tigelaar authored
2001-04-14 Almer S. Tigelaar <almer@gnome.org> * src/commands.c (cmd_paste_cut) : Init saved_sizes. (cmd_paste_cut_destroy) : Free saved_sizes. (cmd_paste_cut_redo) : Store saved_sizes and don't allow shrinking when autofitting row heights. (cmd_paste_cut_undo) : Restore saved_sizes. (cmd_paste_copy_undo) : Store/Restore saved_sizes, don't set PASTE_UPDATE_ROW_HEIGHT flag. It's been removed. Also, don't allow shrinking when autofitting row heights. (cmd_paste_copy_destroy) : Free saved_sizes. (cmd_paste_copy) : Init saved_sizes. (cmd_format_undo) : Allow shrink when autofitting row heights. (cmd_autoformat_undo) : Idem. * src/sheet.c (sheet_apply_style) : Allow shrink when autofitting row heights. (sheet_clear_region) : Idem. * src/clipboard.c (clipboard_paste_region) : Remove the PASTE_UPDATE_ROW_HEIGHT flag. * src/colrow.c : (rows_height_update) : Add an extra flag allow_shrink, if set rows will be autofitted even if this means that the size of the row must be reduced. (cb_autofit_height) : Add support for allow_shrink.
18651ef5