Commit 523b03fc authored by Committed by Jody GoldbergBrowse files
- Do NOT clear a cell and save its value when we start editing. I assume this
was done so that contents of spanning cells would not be visible when editing began. Rather than doing that I've adjusted the grid to pretend the cell being edited is empty. - Some cleanup editing and assigning text into cells. Still can not directly call redo from the cmd. Something screws up the memory associated with the text entry widget ?? 2000-01-29 Jody Goldberg <firstname.lastname@example.org> * src/commands.c (cmd_set_text_undo) : Special case VALUE_EMPTY. Move to the previous cell only after reverting its value so that the edit area is updated. (cmd_set_text) : Retrieve the old text of the cell directly. * src/sheet.c (sheet_set_current_value) : Delete and merge into... (sheet_accept_pending_input) : Here. Harmonize the logic with. (sheet_cancel_pending_input) : this function. (sheet_set_text) : Publicize. (sheet_stop_editing) : Removed storage of value of cell being edited. (sheet_start_editing_at_cursor) : Ditto. * src/workbook.c (accept_input) : Use sheet_accept_pending_input. (redo_cmd, undo_cmd) : cancel pending input. 2000-01-28 Jody Goldberg <email@example.com> * src/item-grid.c (item_grid_draw) : Pretend that the cell being edited (and anything it spans) are empty. * src/sheet.c (sheet_duplicate_colrow) : Delete unused.
Showing with 132 additions and 130 deletions