Skip to content
  • Jody Goldberg's avatar
    - Do NOT clear a cell and save its value when we start editing. I assume this · 523b03fc
    Jody Goldberg authored
      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 <jgoldberg@home.com>
    
    	* 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 <jgoldberg@home.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.
    523b03fc