| 1 | ### Version 7.4.16 |
| 2 | #### Fixed: |
| 3 | - [#282](https://github.com/ragardner/tksheet/issues/282). |
| 4 | |
| 5 | ### Version 7.4.15 |
| 6 | #### Fixed: |
| 7 | - [#280](https://github.com/ragardner/tksheet/pull/280). |
| 8 | |
| 9 | ### Version 7.4.14 |
| 10 | #### Fixed: |
| 11 | - Find in selection would sometimes fail. |
| 12 | |
| 13 | #### Improved: |
| 14 | - Redraw optimizations. |
| 15 | |
| 16 | ### Version 7.4.13 |
| 17 | #### Fixed: |
| 18 | - 7.4.12 deselection display regression. |
| 19 | - Header and index dropdown boxes with center aligned text made text spill out of the cell a little. |
| 20 | |
| 21 | #### Improved: |
| 22 | - Further minor redrawing performance improvements. |
| 23 | - Minor tree build performance improvement. |
| 24 | - Minor performance improvement for moving rows/columns. |
| 25 | |
| 26 | #### Addressed: |
| 27 | - Edge case error with moving rows while using treeview mode. |
| 28 | |
| 29 | ### Version 7.4.12 |
| 30 | #### Addressed: |
| 31 | - [#276](https://github.com/ragardner/tksheet/issues/276). |
| 32 | - [#277](https://github.com/ragardner/tksheet/issues/277). |
| 33 | - Page up / down issues. |
| 34 | |
| 35 | #### Added: |
| 36 | - html documentation. |
| 37 | |
| 38 | ### Version 7.4.11 |
| 39 | #### Fixed: |
| 40 | - [#275](https://github.com/ragardner/tksheet/issues/275). |
| 41 | |
| 42 | ### Version 7.4.10 |
| 43 | #### Fixed: |
| 44 | - Fixes and improvements to treeview mode. |
| 45 | |
| 46 | #### Improved: |
| 47 | - Refactored adding/deleting rows/columns code, behavior should be unchanged. |
| 48 | |
| 49 | #### Changed: |
| 50 | - Removed redundant `self.tree` attribute from treeview mode. |
| 51 | - Added `event_data: EventDataDict | None = None` parameter to `set_data()` as the last parameter. |
| 52 | - Added `undo` and `emit_event` parameters to `item()`. |
| 53 | |
| 54 | #### Added: |
| 55 | - Treeview function `tree_traverse()`. |
| 56 | |
| 57 | ### Version 7.4.9 |
| 58 | #### Fixed: |
| 59 | - [#274](https://github.com/ragardner/tksheet/issues/274). |
| 60 | - Getting data using spans or `get_data()` with `tdisp=True` and a `"format"` type `Span` would not result in formatted data. |
| 61 | - Incorrect docstring in `get_data()`. |
| 62 | |
| 63 | #### Improved: |
| 64 | - Span data getting performance. |
| 65 | - Old data getting functions performance. |
| 66 | |
| 67 | ### Version 7.4.8 |
| 68 | #### Fixed: |
| 69 | - Numerous fixes and improvements for using the find window with hidden rows/columns. |
| 70 | - Error on trying to resize row height when the row is empty. |
| 71 | - Rare minor issues with setting bindings using `set_options()`. |
| 72 | - Some events were adding to the undo stack even if undo was disabled. |
| 73 | - Error on trying to sort rows by column when using the treeview. |
| 74 | - Error on using certain non-treeview row moving functionality while using the treeview. |
| 75 | |
| 76 | #### Changed: |
| 77 | - `enable_bindings()` with `"all"` or no args will now also enable the find and replace window. |
| 78 | - If you use `enable_bindings()` with `"all"` or no args and your software has its own Ctrl/Cmd g/G/h/H binding you may need to make changes such as using `set_options()` to remove tksheets find window bindings. |
| 79 | - The find window will no longer match displayed text in the table from checkboxes and dropdown boxes, only underlying cell data values. This is because the text values are not typically editable from the user end. |
| 80 | |
| 81 | #### Added: |
| 82 | - Replace and replace all functionality in the find window. |
| 83 | - Using the find window without find within selection in treeview mode will show hidden rows if there's a cell match. |
| 84 | - The find window is now draggable horizontally. |
| 85 | - Ctrl/Cmd h/H binding for toggle replace. |
| 86 | - `**kwargs` to `Sheet()` initialization so that other settings can be changed such as bindings. |
| 87 | |
| 88 | #### Improved: |
| 89 | - Refactored `extra_bindings()` code, behavior should be unchanged. |
| 90 | - Find window icons have been improved. |
| 91 | |
| 92 | ### Version 7.4.7 |
| 93 | #### Changed: |
| 94 | - Add `push_n` to tksheet namespace |
| 95 | |
| 96 | #### Addressed: |
| 97 | - [#267](https://github.com/ragardner/tksheet/issues/267) as it was not fixed in version `7.4.5` |
| 98 | |
| 99 | #### Fixed: |
| 100 | - Bugs with treeview mode `item()` `iid` parameter, used for changing item ids |
| 101 | - `see()` function scrolls to wrong position if the row index auto-resized after scrolling |
| 102 | |
| 103 | #### Improved: |
| 104 | - In-built find window performance |
| 105 | |
| 106 | ### Version 7.4.6 |
| 107 | #### Fixed: |
| 108 | - Issues since version `7.4.4` with `get_cell_kwargs()` leading to cell options such as dropdowns sometimes not displaying |
| 109 | |
| 110 | #### Changed: |
| 111 | - Remove unused parameter `object` from `Formatter` class |
| 112 | |
| 113 | ### Version 7.4.5 |
| 114 | #### Changed: |
| 115 | - Functions which had mutable default arguments have been changed to either have: |
| 116 | - no default argument where appropriate OR |
| 117 | - `None` as the default and create an empty mutable if `None` |
| 118 | |
| 119 | #### Fixed: |
| 120 | - [#267](https://github.com/ragardner/tksheet/issues/267) |
| 121 | - Treeview mode: changed recursive functions to `while` functions to avoid recursion depth limit during tree traversal |
| 122 | - Additional treeview function `move()` fixes |
| 123 | |
| 124 | #### Improved: |
| 125 | - Code for `see()` and arrow key functions |
| 126 | |
| 127 | ### Version 7.4.4 |
| 128 | #### Changed: |
| 129 | - **!:** Parameter for function `sort()`: |
| 130 | - `boxes` is now `*box: CreateSpanTypes` |
| 131 | - [More information](https://github.com/ragardner/tksheet/wiki/Version-7#sorting-cells) |
| 132 | |
| 133 | #### Fixed: |
| 134 | - Sorting algorithm wasn't sorting some items correctly |
| 135 | - Boxes in event data not being correct when `sort()` was used |
| 136 | - Addressed some issues with treeview mode `move()` |
| 137 | |
| 138 | #### Added: |
| 139 | - New in-built sort keys and default `sort_key` initialization and `set_options()` parameter |
| 140 | - `natural_sort_key` |
| 141 | - `version_sort_key` |
| 142 | - `fast_sort_key` |
| 143 | |
| 144 | #### Improved: |
| 145 | - Various minor performance improvements |
| 146 | |
| 147 | ### Version 7.4.3 |
| 148 | #### Fixed: |
| 149 | - Functions bound using `extra_bindings()` were only called when a user performed an action, they're now always called when: |
| 150 | - adding rows/columns |
| 151 | - deleting rows/columns |
| 152 | |
| 153 | #### Improved: |
| 154 | - Dropdown search fallback matching, performance |
| 155 | |
| 156 | #### Addressed |
| 157 | - [#269](https://github.com/ragardner/tksheet/issues/269) |
| 158 | |
| 159 | #### Changed: |
| 160 | - `show_top_left` parameter now defaults to `None` to represent tksheet handling of top left visibility |
| 161 | - Provide `natural_sort_key` as importable from `tksheet.natural_sort_key` |
| 162 | - `dropdown_search_function` now uses an iterable of objects rather than an iterable of Sequences of objects |
| 163 | - Rename internal parameter `restored_state` -> `from_undo` |
| 164 | |
| 165 | ### Version 7.4.2 |
| 166 | #### Fixed: |
| 167 | - Strings that started with numbers not being sorted in the correct order |
| 168 | |
| 169 | #### Changed: |
| 170 | - Add file paths to sort order using pathlib |
| 171 | - For better backwards compatibility use the usual "move_rows"/"move_columns" event names for sorting rows/columns events |
| 172 | |
| 173 | ### Version 7.4.1 |
| 174 | #### Fixed: |
| 175 | - Issues with `7.4.0` sorting |
| 176 | - [#270](https://github.com/ragardner/tksheet/issues/270) |
| 177 | - Only add to index header when user adds rows/columns if index/header is populated |
| 178 | |
| 179 | ### Version 7.4.0 |
| 180 | #### Changed: |
| 181 | - Text now wraps by character by default, can also disable wrapping or wrap by word |
| 182 | - Significant changes to how text is rendered |
| 183 | - Removed mousewheel scrolling lines in header, replaced with vertical axis table scroll |
| 184 | - Resizing row height to text is now based on the existing column width for the cell/cells, includes double click resizing |
| 185 | - Treeview mode `Node` class now uses `str` for parent and `list[str]` for children attributes |
| 186 | - Function `get_nodes()` renamed -> `get_iids()` |
| 187 | - Removed `data_indexes` parameter from `mapping_move...` functions |
| 188 | - Reduce default treeview indent |
| 189 | - `move()` function now returns the same as other move rows functions |
| 190 | - All `Sheet()` functions with an `undo` parameter have been set to `True` by default |
| 191 | - Using `Sheet.set_data()` or `Span`s to set an individual cell's data as `None` will now do so instead of returning |
| 192 | - Setting `show_top_left` during Sheet() initialization will now make the top left rectangle always show |
| 193 | |
| 194 | #### Added: |
| 195 | - Natural sorting functionality [#238](https://github.com/ragardner/tksheet/issues/238) |
| 196 | - Treeview mode now works with all normal tksheet functions, including dragging and dropping rows |
| 197 | - Cell text overflow `allow_cell_overflow: bool = False` to adjacent cells for left and right alignments, disabled by default |
| 198 | - Text wrap for table, header and index |
| 199 | ```python |
| 200 | # "" no wrap, "w" word wrap, "c" char wrap |
| 201 | table_wrap: Literal["", "w", "c"] = "c", |
| 202 | index_wrap: Literal["", "w", "c"] = "c", |
| 203 | header_wrap: Literal["", "w", "c"] = "c", |
| 204 | ``` |
| 205 | |
| 206 | - `tree` parameter to `insert_rows()` function, used internally |
| 207 | |
| 208 | #### Fixed: |
| 209 | - Index fonts now work correctly |
| 210 | - Functions `column_width()` and `row_height()` work correctly for any parameters |
| 211 | - Down sizing rows/columns when scrolled to the end of the axis would result in a rapid movement of row height/column width |
| 212 | - Address [#269](https://github.com/ragardner/tksheet/issues/269) |
| 213 | |
| 214 | #### Improved: |
| 215 | - Minor performance improvements for: |
| 216 | - `item_displayed()` |
| 217 | - `show_rows()` / `show_columns()` |
| 218 | - `move()` |
| 219 | - Row insertion |
| 220 | |
| 221 | ### Version 7.3.4 |
| 222 | #### Fixed: |
| 223 | - Error on find within selection without a selection |
| 224 | - Some canvas z fighting issues |
| 225 | |
| 226 | #### Improved: |
| 227 | - Refactored redrawing code |
| 228 | |
| 229 | #### Changed: |
| 230 | - rename Sheet() attr: dropdown_class -> _dropdown_cls |
| 231 | |
| 232 | ### Version 7.3.3 |
| 233 | #### Improved: |
| 234 | - Find within selection performance + memory |
| 235 | - Moving rows/columns performance |
| 236 | |
| 237 | ### Version 7.3.2 |
| 238 | #### Added: |
| 239 | - Built-in find window, use `enable_bindings("find")` to enable |
| 240 | - Escape binding which deselects |
| 241 | - `reverse` parameter to `get_selected_cells()` function |
| 242 | |
| 243 | #### Fixed: |
| 244 | - Not redrawing after Control-space, Shift-space bindings for selecting columns/rows |
| 245 | - Not redrawing after Home, Control/Command-Home bindings for selecting start of the row and start of the table |
| 246 | - Dropdown boxes not reseting y scroll |
| 247 | - Issues with arrow key down |
| 248 | - Arrow key up wrongly moving scroll at row 0 |
| 249 | |
| 250 | #### Changed: |
| 251 | - Renamed `vars.py` -> `constants.py` |
| 252 | - Add `_version.py` to `.gitignore` |
| 253 | - `enable_bindings()` with `"find"` now enables an in-built find window which uses the following bindings: |
| 254 | - Control/Command-f/F |
| 255 | - Control/Command-g/G |
| 256 | - Control/Command-Shift-g/G |
| 257 | - Escape |
| 258 | - Return (when the find window has focus) |
| 259 | - Alt/Option-L to find within selection |
| 260 | - Added Escape binding when cell selection is enabled. Pressing Escape will now close the find window if its open, if its not open it will close any open text editor/dropdown box and deselect all cells. |
| 261 | |
| 262 | ### Version 7.3.1 |
| 263 | #### Changed: |
| 264 | - `deselect()` also closes text editor / dropdown |
| 265 | |
| 266 | #### Added: |
| 267 | - Mac OS Zoom in/out bindings |
| 268 | - Control-space, Shift-space bindings for selecting columns/rows if enabled |
| 269 | - Home, Control/Command-Home bindings for selecting start of the row and start of the table |
| 270 | |
| 271 | #### Documentation: |
| 272 | - `bulk_insert()`: wrong example |
| 273 | - Docstrings: return values for `insert()`, `bulk_insert()` |
| 274 | |
| 275 | #### Fixed: |
| 276 | - Wrong type hinting for `Iterator` |
| 277 | |
| 278 | ### Version 7.3.0 |
| 279 | #### Changed: |
| 280 | - `"end_edit_cell"` events for single cell edits e.g. for cell text editor, dropdown box and checkbox edits now have the value **prior** to the edit in the event under keys `cells.table` |
| 281 | - Variables default values in `Sheet()` init have changed from `"inf"` -> `float("inf")`: |
| 282 | - `max_column_width` |
| 283 | - `max_row_height` |
| 284 | - `max_index_width` |
| 285 | - `max_header_height` |
| 286 | - Moved variables from `Sheet.MT` -> `Sheet.ops`: |
| 287 | - `max_column_width` |
| 288 | - `max_row_height` |
| 289 | - `max_index_width` |
| 290 | - `max_header_height` |
| 291 | |
| 292 | #### Fixed: |
| 293 | - Lag on resize index width or header height |
| 294 | |
| 295 | #### Added: |
| 296 | - Ability to set minimum column width: `min_column_width` in `Sheet()` init and `set_options()` |
| 297 | |
| 298 | ### Version 7.2.23 |
| 299 | #### Changed: |
| 300 | - Edit validation will now also be triggered for undo and redo [256](https://github.com/ragardner/tksheet/issues/256) |
| 301 | - Cell text editors and dropdowns have their own shared background and foreground colors [255](https://github.com/ragardner/tksheet/issues/255) |
| 302 | |
| 303 | #### Fixed: |
| 304 | - `7.2.22` regression when using cell text editors and normal dropdown boxes |
| 305 | - `7.2.22` regression `"normal"` dropdown box with `modified_function` not being triggered upon non-key release events such as by right clicking in the text editor and pasting |
| 306 | - Select events will no longer be emitted upon b1 release |
| 307 | |
| 308 | #### Added: |
| 309 | - Options for changing table, index and header cell editor bg, fg [255](https://github.com/ragardner/tksheet/issues/255) |
| 310 | - Added `Sheet()` parameters: |
| 311 | - `table_editor_bg` |
| 312 | - `table_editor_fg` |
| 313 | - `table_editor_select_bg` |
| 314 | - `table_editor_select_fg` |
| 315 | - `index_editor_bg` |
| 316 | - `index_editor_fg` |
| 317 | - `index_editor_select_bg` |
| 318 | - `index_editor_select_fg` |
| 319 | - `header_editor_bg` |
| 320 | - `header_editor_fg` |
| 321 | - `header_editor_select_bg` |
| 322 | - `header_editor_select_fg` |
| 323 | |
| 324 | ### Version 7.2.22 |
| 325 | #### Added: |
| 326 | - Autocomplete for `"normal"` state dropdown boxes |
| 327 | - Python `3.13` support badge |
| 328 | - `"disabled"` state for dropdown boxes |
| 329 | - docstrings for enable/disable bindings and extra bindings functions to help with arguments |
| 330 | |
| 331 | #### Fixed: |
| 332 | - Alternate row colors no longer blend with clear single cell selection box |
| 333 | - Highlights and alternate row colors not blending with `show_selected_cells_border=False` |
| 334 | - Tab key with `show_selected_cells_border=False` not updating selected colors when using highlights |
| 335 | - Treeview `selection_set()`/`selection_add()` now only use iids that are in the tree, will not generate an error if an iid is missing |
| 336 | - Error on close text editor |
| 337 | |
| 338 | #### Improved: |
| 339 | - Code: minor type hinting |
| 340 | - Code: variable name clarity |
| 341 | |
| 342 | ### Version 7.2.21 |
| 343 | #### Fixed: |
| 344 | - Storing functions in event data using `pickle` causes error [253](https://github.com/ragardner/tksheet/issues/253) |
| 345 | |
| 346 | #### Added: |
| 347 | - Basic alternate row colors option |
| 348 | |
| 349 | ### Version 7.2.20 |
| 350 | #### Changed: |
| 351 | - `float_formatter()` by default will no longer accept inputs that end in `"%"` |
| 352 | - `percentage_formatter()` default `format_function` renamed: `to_float()` -> `to_percentage()` |
| 353 | - Events no longer emitted for cut, paste or delete if the sheet has not been edited, for example due to read only cells [249](https://github.com/ragardner/tksheet/issues/249) |
| 354 | - `__init__()` calls now use `super()` |
| 355 | |
| 356 | #### Added: |
| 357 | - Options for percentage formatter: |
| 358 | - `format_function` option `to_percentage()` |
| 359 | - `format_function` option `alt_to_percentage()` |
| 360 | - `to_str_function` option `alt_percentage_to_str()` |
| 361 | |
| 362 | #### Improved: |
| 363 | - Documentation for data formatting |
| 364 | |
| 365 | ### Version 7.2.19 |
| 366 | #### Fixed: |
| 367 | - Error when pasting into empty sheet |
| 368 | - Potential error if using percentage formatter with more than just `int`, `float` and wrong type hint [250](https://github.com/ragardner/tksheet/issues/250) |
| 369 | - Only show the selection box outline while the mouse is dragged if the control key is down |
| 370 | - `index` and `header` `Span` parameters were not working with function `readonly()` |
| 371 | |
| 372 | #### Added: |
| 373 | - Shift + arrowkey bindings for expanding/contracting a selection box |
| 374 | - Functions for getting cell properties (options) [249](https://github.com/ragardner/tksheet/issues/249) |
| 375 | - Ability to edit index in treeview mode, if the binding is enabled |
| 376 | |
| 377 | #### Improved: |
| 378 | - Very slight performance boost to treeview insert, inserting rows when rows are hidden |
| 379 | |
| 380 | ### Version 7.2.18 |
| 381 | #### Fixed: |
| 382 | - Inserting rows/columns with hidden rows/columns sometimes resulted in incorrect rows/columns being displayed |
| 383 | - Treeview function `insert()` when using parameter `index` sometimes resulted in treeview items being displayed in the wrong locations |
| 384 | |
| 385 | #### Changed: |
| 386 | - Using function `set_currently_selected()` or any function/setter which does the same internally will now trigger a select event like creating selection boxes does |
| 387 | - iids in Treeview mode are now case sensitive |
| 388 | - Treeview function `tree_build()` when parameter `safety` is `False` will no longer check for missing ids in the iid column |
| 389 | - Treeview function `get_children()` now gets item ids from the row index which provides them in the same order as in the treeview |
| 390 | - Add parameter `run_binding` to treeview functions `selection_add()`, `selection_set()` |
| 391 | - Slight color change for top left rectangle bars |
| 392 | |
| 393 | #### Added: |
| 394 | - Initialization parameters `default_header` and `default_row_index` can now optionally be set to `None` to not display anything in empty header cells / row index cells |
| 395 | - Parameters `lower` and `include_text_column` to treeview function `tree_build()` |
| 396 | - Treeview function `bulk_insert()` |
| 397 | - Treeview function `get_nodes()` behaves exactly the same as `get_children()` except it retrieves item ids from the tree nodes `dict` not the row index. |
| 398 | - Treeview function `descendants()` which returns a generator |
| 399 | - Treeview property `tree_selected` |
| 400 | |
| 401 | ### Version 7.2.17 |
| 402 | #### Changed: |
| 403 | - Treeview mode slight appearance change |
| 404 | |
| 405 | ### Version 7.2.16 |
| 406 | #### Added: |
| 407 | - Treeview mode documentation |
| 408 | |
| 409 | ### Version 7.2.15 |
| 410 | #### Added: |
| 411 | - New option to address [247](https://github.com/ragardner/tksheet/issues/247) |
| 412 | |
| 413 | ### Version 7.2.14 |
| 414 | #### Added: |
| 415 | - New options to address [246](https://github.com/ragardner/tksheet/issues/246) |
| 416 | |
| 417 | #### Fixed: |
| 418 | - Redundant code causing potential redraw error |
| 419 | - Wrong version number in `__init__.py` |
| 420 | |
| 421 | ### Version 7.2.13 |
| 422 | #### Fixed: |
| 423 | - [245](https://github.com/ragardner/tksheet/issues/245) |
| 424 | |
| 425 | #### Changed: |
| 426 | - Moved variable `default_index` to sheet options as `default_row_index` |
| 427 | - Moved variable `default_header` to sheet options |
| 428 | |
| 429 | #### Improved: |
| 430 | - Documentation |
| 431 | |
| 432 | ### Version 7.2.12 |
| 433 | #### Pull Requests: |
| 434 | - [237](https://github.com/ragardner/tksheet/pull/237) |
| 435 | |
| 436 | ### Version 7.2.11 |
| 437 | #### Fixed: |
| 438 | - [235](https://github.com/ragardner/tksheet/issues/235) |
| 439 | - Error with `show_columns()` |
| 440 | |
| 441 | #### Pull Requests: |
| 442 | - [236](https://github.com/ragardner/tksheet/pull/236) |
| 443 | |
| 444 | #### Changed: |
| 445 | - Resizing rows/columns with mouse button motion now does so during the motion also |
| 446 | |
| 447 | ### Version 7.2.10 |
| 448 | #### Fixed: |
| 449 | - Fix index width resizing regression |
| 450 | - Sheet no longer steals focus when using `set_sheet_data()` and similar functions, issue [233](https://github.com/ragardner/tksheet/issues/233) |
| 451 | |
| 452 | #### Improved: |
| 453 | - Don't show row index resize cursor when unnecessary |
| 454 | |
| 455 | ### Version 7.2.9 |
| 456 | #### Fixed: |
| 457 | - [232](https://github.com/ragardner/tksheet/issues/232) |
| 458 | |
| 459 | #### Addressed: |
| 460 | - [231](https://github.com/ragardner/tksheet/issues/231) |
| 461 | |
| 462 | #### Changed: |
| 463 | - Dropdown box arrows changed back to lines as polygon triangles had issues with outlines |
| 464 | - Possible slight changes to logic of `display_rows()`/`display_columns()` |
| 465 | - `displayed_rows.setter`/`displayed_columns.setter` now reset row/column positions |
| 466 | |
| 467 | ### Version 7.2.8 |
| 468 | #### Fixed: |
| 469 | - Minor flicker when selecting a row or column |
| 470 | - Top left rectangle sometimes not updating properly on change of dimensions |
| 471 | |
| 472 | #### Improved: |
| 473 | - Dropdown triangle visuals |
| 474 | |
| 475 | #### Changed: |
| 476 | - Top left rectangle colors |
| 477 | - Dropdown box outline in index/header |
| 478 | |
| 479 | ### Version 7.2.7 |
| 480 | #### Fixed: |
| 481 | - [230](https://github.com/ragardner/tksheet/issues/230) |
| 482 | - Incorrect rows/columns after move with hidden rows/columns |
| 483 | |
| 484 | #### Changed: |
| 485 | - Event data for moving rows/columns with hidden rows/columns e.g. under `event.moved.rows.data` now returns not just the moved rows/columns but all new row/column indexes for the displayed rows/columns. e.g. Use `event.moved.rows.displayed` with `Sheet.data_r()`/`Sheet.data_c()` to find only the originally moved rows/columns |
| 486 | - Moving rows/columns with hidden rows/columns will only modify these indexes if `move_data` parameter is `True`, default is `True` |
| 487 | |
| 488 | ### Version 7.2.6 |
| 489 | #### Fixed: |
| 490 | - Drag and drop incorrect drop index |
| 491 | - `set_all_cell_sizes_to_text()` incorrect widths |
| 492 | |
| 493 | #### Changed: |
| 494 | - Functions that move rows/columns such as `move_rows()`/`move_columns()` have had their move to indexes changed slightly, you may need to check yours still work as intended if using these functions |
| 495 | |
| 496 | ### Version 7.2.5 |
| 497 | #### Fixed: |
| 498 | - `StopIteration` on drag and drop |
| 499 | |
| 500 | #### Added: |
| 501 | - `gen_selected_cells()` function |
| 502 | - `is_contiguous` to `tksheet` namespace |
| 503 | |
| 504 | ### Version 7.2.4 |
| 505 | #### Added: |
| 506 | - Progress bars |
| 507 | |
| 508 | #### Fixed: |
| 509 | - Fix resizing cursor appearing at start of header/index and causing issues if clicked |
| 510 | |
| 511 | ### Version 7.2.3 |
| 512 | #### Fixed: |
| 513 | - Fix add columns/add rows not inserting at correct index when index is larger than row or data len |
| 514 | - Fix add columns/add rows not undoing/redoing added heights/widths respectively |
| 515 | - Fix add columns/add rows regression |
| 516 | |
| 517 | ### Version 7.2.2 |
| 518 | #### Added: |
| 519 | - Add functions to address [227](https://github.com/ragardner/tksheet/issues/227): |
| 520 | - `get_column_text_width` |
| 521 | - `get_row_text_height` |
| 522 | - `visible_columns` - `@property` |
| 523 | - `visible_rows` - `@property` |
| 524 | |
| 525 | #### Changed: |
| 526 | - Internal parameter names: |
| 527 | - `only_set_if_too_small` -> ` only_if_too_small` |
| 528 | - Internal functions: |
| 529 | - `get_visible_rows`, `get_visible_columns` -> `visible_text_rows`, `visible_text_columns`, also changed to properties `@property` |
| 530 | - Internal function parameters: |
| 531 | - `set_col_width` |
| 532 | - `set_row_height` |
| 533 | |
| 534 | ### Version 7.2.1 |
| 535 | #### Fixed: |
| 536 | - Regression since `7.2.0`: selection box borders not showing for rows/columns |
| 537 | |
| 538 | #### Changed: |
| 539 | - Slightly reduced minimum row height since `7.2.0` change |
| 540 | |
| 541 | ### Version 7.2.0 |
| 542 | #### Fixed: |
| 543 | - Cells in index/header not having correct colors when columns/rows were selected |
| 544 | - [226](https://github.com/ragardner/tksheet/issues/226) |
| 545 | |
| 546 | #### Changed: |
| 547 | - A somewhat major change which warranted a significant version bump - **the minimum row height has increased slightly** to better accodomate the pipe character `|` |
| 548 | |
| 549 | ### Version 7.1.24 |
| 550 | #### Fixed: |
| 551 | - Error on paste into empty sheet with `expand_sheet_if_paste_too_big` |
| 552 | - Data shape not being correct upon inserting a single column or row into an empty sheet |
| 553 | - Potential for `insert_columns()` to cause issues if provided columns are longer than current number of sheet rows |
| 554 | - [225](https://github.com/ragardner/tksheet/issues/225) Insert columns and insert rows not inserting blank cells into header/row index, issue seen with either: |
| 555 | - Right clicking and using the in-built insert functionality |
| 556 | - Using the `Sheet()` functions with an `int` for first parameter |
| 557 | - Wrong sheet dimensions caused by a paste which expands the sheet |
| 558 | - Wrong new selection box dimensions after paste which expands the sheet |
| 559 | - `set_options()` with `table_font=` not working |
| 560 | |
| 561 | #### Changed: |
| 562 | - `expand_sheet_if_paste_too_big` replaced by `paste_can_expand_x` and `paste_can_expand_y`. To avoid compatibility issues using `expand_sheet_if_paste_too_big` will set both new options |
| 563 | |
| 564 | #### Improved: |
| 565 | - Additional protection against issue [224](https://github.com/ragardner/tksheet/issues/224) but with `auto_resize_row_index="empty"` which is the default setting |
| 566 | |
| 567 | ### Version 7.1.23 |
| 568 | #### Fixed: |
| 569 | - Redrawing loop with `auto_resize_row_index=True` [224](https://github.com/ragardner/tksheet/issues/224) |
| 570 | |
| 571 | #### Changed: |
| 572 | - Unfortunately in order to fix [224](https://github.com/ragardner/tksheet/issues/224) while using `auto_resize_row_index=True` the x scroll bar will no longer be hidden if it is not needed |
| 573 | |
| 574 | ### Version 7.1.22 |
| 575 | #### Addressed: |
| 576 | - Issue [222](https://github.com/ragardner/tksheet/issues/222) |
| 577 | - Issue [223](https://github.com/ragardner/tksheet/issues/223) |
| 578 | |
| 579 | #### Fixed: |
| 580 | - Massive lag when pasting large amounts of data, caused by using Python `csv.Sniffer().sniff()` without setting sample size, now only samples 5000 characters max |
| 581 | |
| 582 | #### Changed: |
| 583 | - Added `widget` key to emitted event `dict`s which can be either the header, index or table canvas. If you're using `pickle` on tksheet event `dict`s then you may need to delete the `widget` key beforehand |
| 584 | - Added `Highlight`, `add_highlight`, `new_tk_event` and `get_csv_str_dialect` to tksheet namespace |
| 585 | - Some old functions which used to return `None` now return `self` (`Sheet`) |
| 586 | - Re-add old highlighting functions to docs |
| 587 | - Event data from moving rows/columns while rows/columns are hidden no longer returns all displayed row/column indexes in the `dict` keys `["moved"]["rows"]["data"]`/`["moved"]["columns"]["data"]` but instead returns only the rows/columns which were originally moved. |
| 588 | - Add `Shift-Return` to text editor newline bindings |
| 589 | - Internal `close_text_editor()` function parameters |
| 590 | - Function `close_text_editor()` now closes all text editors that are open |
| 591 | |
| 592 | #### Added: |
| 593 | - New parameters to `dropdown()`: |
| 594 | - `edit_data` to disable editing of data when creating the dropdowns |
| 595 | - `set_values` so a `dict` of cell/column/row coordinates and values can be provided instead of using `set_value` for every cell in the span |
| 596 | - New emitted events - issue [223](https://github.com/ragardner/tksheet/issues/223): |
| 597 | - `"<<Copy>>"` |
| 598 | - `"<<Cut>>"` |
| 599 | - `"<<Paste>>"` |
| 600 | - `"<<Delete>>"` |
| 601 | - `"<<Undo>>"` |
| 602 | - `"<<Redo>>"` |
| 603 | - `"<<SelectAll>>"` |
| 604 | |
| 605 | #### Improved: |
| 606 | - Dropdown box scrollbars will only display when necessary |
| 607 | - Some themes colors |
| 608 | - Old function `highlight_cells()` slight performance boost when calling it thousands of times |
| 609 | - Added parameters back to the functions `dropdown()`/`checkbox()` for help when writing code |
| 610 | |
| 611 | ### Version 7.1.21 |
| 612 | #### Fixed: |
| 613 | - Error with `equalize_data_row_lengths()` while displaying a row as the header |
| 614 | |
| 615 | #### Changed: |
| 616 | - Dropdown and treeview arrow appearance to triangles |
| 617 | |
| 618 | ### Version 7.1.20 |
| 619 | #### Fixed: |
| 620 | - External right click popup menu being overwritten by internal when right clicking in empty table space |
| 621 | - Copying and pasting values from a single column not working correctly |
| 622 | - Mousewheel in header not working on `Linux` |
| 623 | - `get_cell_options()`/`get_row_options()`/`get_column_options()`/`get_index_options()`/`get_header_options()` values not being requested option. These functions now return a `dict` where the values are the requested option, e.g. for `"highlight"` the values will be `namedtuple`s |
| 624 | |
| 625 | #### Changed: |
| 626 | - Functions `cut()`/`copy()`/`paste()`/`delete()`/`undo()`/`redo()` now return `EventDataDict` and not `self`/`Sheet` |
| 627 | - `get_cell_options()`/`get_row_options()`/`get_column_options()`/`get_index_options()`/`get_header_options()`, see above fix |
| 628 | - Clipboard operations where there's a single cell which contains newlines will now be clipboarded surrounded by quotechars |
| 629 | |
| 630 | #### Added: |
| 631 | - Functions `del_row_positions()`/`del_column_positions()` |
| 632 | - `validation` parameter to `cut()`/`paste()`/`delete()`, `False` disables any bound `edit_validation()` function from running |
| 633 | - `row` and `column` keys to `cut()`/`paste()`/`delete()` events bound with `edit_validation()` |
| 634 | |
| 635 | ### Version 7.1.12 |
| 636 | #### Fixed: |
| 637 | - Incorrect dropdown box opening coordinates following the opening of dropdown boxes on different sized rows |
| 638 | - Calling `grid_forget()` on a parent widget after opening a dropdown box would cause opened dropdown boxes to be hidden |
| 639 | - `disable_bindings()` with right click menu options such as insert_columns would disable the whole right click menu |
| 640 | - Removed old deprecated dropdown box `dict` values |
| 641 | |
| 642 | #### Changed: |
| 643 | - To disable the whole right click menu using `disable_bindings()` it must be called with the specific string `"right_click_popup_menu"` |
| 644 | - themes `dict`s now `DotDict`s |
| 645 | |
| 646 | ### Version 7.1.11 |
| 647 | #### Fixed: |
| 648 | - Rare error when selecting header cell with an empty table and `auto_resize_columns` enabled |
| 649 | |
| 650 | #### Addressed: |
| 651 | - Issue [221](https://github.com/ragardner/tksheet/issues/221) |
| 652 | |
| 653 | ### Version 7.1.10 |
| 654 | #### Fixed: |
| 655 | - Flickering when scrolling by using mouse to drag scroll bars |
| 656 | - Custom bindings overwritten when using `enable_bindings()` |
| 657 | - Rare situation where header/index is temporarily out of sync with table after setting xview/yview |
| 658 | |
| 659 | ### Version 7.1.9 |
| 660 | #### Fixed: |
| 661 | - Potential error caused by moving rows/columns where: |
| 662 | - There exists a header but data is empty |
| 663 | - Data and index/header are all empty but displayed row/column lines exist |
| 664 | |
| 665 | #### Changed: |
| 666 | - Function `equalize_data_row_lengths` parameter `include_header` now `True` by default |
| 667 | - Right clicking with right click select enabled in empty space in the table will now deselect all |
| 668 | - Right clicking on a selected area in the main table will no longer select the cell under the pointer if popup menus are not enabled. Use mouse button 1 to select a cell within a selected area |
| 669 | |
| 670 | #### Added: |
| 671 | - Functions: |
| 672 | - `has_focus()` |
| 673 | - `ctrl_boxes` |
| 674 | - `canvas_boxes` |
| 675 | - `full_move_columns_idxs()` |
| 676 | - `full_move_rows_idxs()` |
| 677 | |
| 678 | ### Version 7.1.8 |
| 679 | #### Fixed: |
| 680 | - Issue with setting sheet xview/yview immediately after initialization |
| 681 | - Visual selection box issue with boxes with 0 length or width |
| 682 | |
| 683 | #### Addressed: |
| 684 | - Issue [220](https://github.com/ragardner/tksheet/issues/220) |
| 685 | |
| 686 | #### Added: |
| 687 | - Functions: |
| 688 | - `boxes` setter for use with `Sheet.get_all_selection_boxes_with_types()` or `Sheet.boxes` property |
| 689 | - `selected` setter |
| 690 | - `all_rows` property to get `all_rows_displayed` `bool` |
| 691 | - `all_columns` property to get `all_columns_displayed` `bool` |
| 692 | - `all_rows` setter to set `all_rows_displayed` `bool` |
| 693 | - `all_columns` setter to set `all_columns_displayed` `bool` |
| 694 | - `displayed_rows` setter uses function `Sheet.display_rows()` |
| 695 | - `displayed_columns` setter uses function `Sheet.display_columns()` |
| 696 | |
| 697 | #### Removed: |
| 698 | - All parameters from function `Sheet.after_redraw()` |
| 699 | - Warnings about version changes from `Sheet()` initialization |
| 700 | - `within_range` parameters from internal `get_selected_cells`/`get_selected_rows`/`get_selected_columns` functions |
| 701 | |
| 702 | ### Version 7.1.7 |
| 703 | #### Fixed: |
| 704 | - Using a cell text editor followed by setting a dropdown box with a text editor would set the previously open cell to the dropdown value |
| 705 | |
| 706 | #### Changed: |
| 707 | - Selection boxes now have rounded corners |
| 708 | - Function `get_checkbox_points` renamed `rounded_box_coords` |
| 709 | |
| 710 | #### Added: |
| 711 | - `rounded_boxes` Sheet option |
| 712 | - WIP `ListBox` class |
| 713 | |
| 714 | ### Version 7.1.6 |
| 715 | #### Fixed: |
| 716 | - Undo error |
| 717 | |
| 718 | #### Added: |
| 719 | - Function `deselect_any()` for non specific selection box type deselections |
| 720 | |
| 721 | ### Version 7.1.5 |
| 722 | #### Fixed: |
| 723 | - `set_all_cell_sizes_to_text()` not working correctly if table font is different to index font, resulting in dropdown box values not showing properly |
| 724 | - Dropdown box colors and options not being updated after sheet color change |
| 725 | - Text editor alignments not working |
| 726 | |
| 727 | #### Improved: |
| 728 | - Dropdown box alignment now uses cell alignment |
| 729 | - Minor changes to arrow key cell selection |
| 730 | |
| 731 | #### Changed: |
| 732 | - When using `show_selected_cells_border=False` the colors for `table_selected_box_cells_fg`/`table_selected_box_rows_fg`/`table_selected_box_columns_fg` will be used for the currently selected cells background |
| 733 | |
| 734 | ### Version 7.1.4 |
| 735 | #### Fixed: |
| 736 | - Fixed shift mouse click select rows/columns selecting cells instead of rows/columns |
| 737 | - Fixed `"<<SheetSelect>>"` event not being emitted after row/column select events |
| 738 | |
| 739 | #### Added: |
| 740 | - Add new parameters to `cell_selected()`, `row_selected()`, `column_selected()`, no default behaviour change |
| 741 | - Functions: |
| 742 | - `event_widget_is_sheet()` |
| 743 | - `@property` function `boxes`, the same as `get_all_selection_boxes()` |
| 744 | - `drow()`, `dcol()` functions the same as `displayed_row_to_data()`/`displayed_column_to_data()` |
| 745 | |
| 746 | ### Version 7.1.3 |
| 747 | #### Fixed: |
| 748 | - Error with `get_all_selection_boxes_with_types()` |
| 749 | |
| 750 | ### Version 7.1.2 |
| 751 | #### Fixed: |
| 752 | - Column selected detection bug |
| 753 | - Tagged cells/rows/columns not taken into account in max index detection, relevant for moving columns/rows |
| 754 | |
| 755 | ### Version 7.1.1 |
| 756 | #### Fixed: |
| 757 | - Select all error |
| 758 | - Span widget attribute lost on delete rows/columns and undo |
| 759 | - Tagged cells/rows/columns lost on delete rows/columns and undo |
| 760 | |
| 761 | ### Version 7.1.0 |
| 762 | #### Changed: |
| 763 | - Event data key `"selected"` and function `get_currently_selected()` values have changed: |
| 764 | - `type_` attribute has been changed from either `"cell"`/`"row"`/`"column"` to `"cells"`/`"rows"`/`"columns"` |
| 765 | - The attributes in the latter indexes have also changed |
| 766 | - See the documentation for `get_currently_selected` for more information |
| 767 | --- |
| 768 | - Rename class `TextEditor_` to `TextEditorTkText` |
| 769 | - Rename `TextEditor` attribute `textedit` to `tktext` |
| 770 | - Rename `namedtuple` `CurrentlySelectedClass` to `Selected` |
| 771 | --- |
| 772 | - Overhaul how selection boxes are handled internally. `Sheet` functions dealing with selection boxes should behave the same |
| 773 | - Changed order of `Sheet()` init parameters |
| 774 | --- |
| 775 | - `auto_resize_row_index` now has a different default value for its old behaviour: |
| 776 | - `auto_resize_row_index: bool | Literal["empty"] = "empty"` |
| 777 | - With `"empty"` it will only automatically resize if the row index is empty |
| 778 | - With `True` it will always automatically resize |
| 779 | - `False` it will never automatically resize |
| 780 | --- |
| 781 | - Scrollbar appearance |
| 782 | - `hide_rows()`/`hide_columns()` functions now endeavour to save the row heights/column widths so that they may be reinserted when using new functions `show_rows()`/`show_columns()` |
| 783 | - Internal Dropdown Box information `dict`s no longer have the keys `"window"` and `"canvas_id"` |
| 784 | --- |
| 785 | Span objects now have an additional two functions which link to the `Sheet` functions of the same names: |
| 786 | - `span.tag()` |
| 787 | - `span.untag()` |
| 788 | |
| 789 | #### Removed: |
| 790 | - **Parameters**: |
| 791 | - `set_text_editor_value()` parameters `r` and `c` |
| 792 | |
| 793 | #### Added: |
| 794 | - **Functions**: |
| 795 | - `show_rows()`, `show_columns()` which are designed to work alongside their `hide_rows()`/`hide_columns()` counterparts |
| 796 | - `set_index_text_editor_value()` and `set_header_text_editor_value()` |
| 797 | - `xview()`, `yview()`, `xview_moveto()`, `yview_moveto()` |
| 798 | - **Parameters**: |
| 799 | - `data_indexes` `bool` parameters to functions: `hide_rows`, `hide_columns`, default value is `False` meaning there is no behavior change |
| 800 | - `create_selections` `bool` parameters to functions: `insert_rows`, `insert_columns` default value is `True` meaning there is no behavior change |
| 801 | - **New tksheet functionality**: |
| 802 | - Treeview mode (still a work in progress - functions are inside `sheet.py` under # Treeview Mode) |
| 803 | - Cell, row and column tagging functions, also added to `Span`s |
| 804 | - Ability to change the appearance of both scroll bars |
| 805 | - New binding `"<<SheetSelect>>"` which encompasses all select events |
| 806 | |
| 807 | #### Fixed: |
| 808 | - `mapping_move_rows()` error |
| 809 | - Potential issue with using `insert_rows` while also using an `int` as the row index to display a specific column in the index |
| 810 | - Potential error if a selection box ends up outside of rows/columns |
| 811 | - Pull request [#214](https://github.com/ragardner/tksheet/pull/214) |
| 812 | - Issue [215](https://github.com/ragardner/tksheet/issues/215) |
| 813 | |
| 814 | #### Improved: |
| 815 | - Ctrl select now allows overlapping boxes which begin from within another box |
| 816 | - Ctrl click deselection |
| 817 | - The currently selected cell will no longer change after edits to individual cells in the main table which are not valid with a different value |
| 818 | |
| 819 | ### Version 7.0.6 |
| 820 | #### Changed: |
| 821 | - The following `MainTable` attributes are now simply `int`s or `str`s which represent either pixels or number of lines, instead of `tuple`s: |
| 822 | - `default_header_height` |
| 823 | - `default_row_height` |
| 824 | - `Sheet()` init keyword argument `default_row_index_width` now only accepts `int`s |
| 825 | - Simplify internal use of `default_header_height`, `default_row_height`, `default_column_width`, `default_row_index_width` |
| 826 | - Move the following attribute locations from `MainTable` to `Sheet.ops`: |
| 827 | - `default_header_height` |
| 828 | - `default_row_height` |
| 829 | - `default_column_width` |
| 830 | - `default_row_index_width` |
| 831 | - Removed some protections for setting default row heights, default column widths smaller than minimum heights/widths |
| 832 | |
| 833 | #### Added: |
| 834 | - Functions to address issue [#212](https://github.com/ragardner/tksheet/issues/212): |
| 835 | - `get_text_editor_value` |
| 836 | - `close_text_editor` |
| 837 | |
| 838 | ### Version 7.0.5 |
| 839 | #### Fixed: |
| 840 | - Issue #210 |
| 841 | |
| 842 | ### Version 7.0.4 |
| 843 | #### Fixed: |
| 844 | - Additional header cells being created when using `set_data()` or data setting using spans under certain circumstances |
| 845 | - Additional index cells being created when using `set_data()` or data setting using spans under certain circumstances |
| 846 | |
| 847 | #### Added: |
| 848 | - `Sheet.reset()` function |
| 849 | |
| 850 | ### Version 7.0.3 |
| 851 | #### Fixed: |
| 852 | - Some classifiers in `pyproject.toml` |
| 853 | |
| 854 | #### Added: |
| 855 | - Parameter `emit_event` to the functions: |
| 856 | - `span` |
| 857 | - `set_data` |
| 858 | - `clear` |
| 859 | - `insert_row` |
| 860 | - `insert_column` |
| 861 | - `insert_rows` |
| 862 | - `insert_columns` |
| 863 | - `del_row` |
| 864 | - `del_column` |
| 865 | - `del_rows` |
| 866 | - `del_columns` |
| 867 | - `move_rows` |
| 868 | - `move_columns` |
| 869 | - `mapping_move_rows` |
| 870 | - `mapping_move_columns` |
| 871 | |
| 872 | - Attribute `emit_event` to Span objects, default value is `False` |
| 873 | - Functions `mapping_move_rows` and `mapping_move_columns` to docs |
| 874 | |
| 875 | #### Changed: |
| 876 | - Functions renamed: |
| 877 | - `move_rows_using_mapping` -> `mapping_move_rows` |
| 878 | - `move_columns_using_mapping` -> `mapping_move_columns` |
| 879 | - Order of parameters for functions: |
| 880 | - `mapping_move_rows` |
| 881 | - `mapping_move_columns` |
| 882 | |
| 883 | ### Version 7.0.2 |
| 884 | #### Changed: |
| 885 | - `Sheet()` initialization parameter `row_index_width` renamed `default_row_index_width` |
| 886 | - `set_options()` keyword argument `row_index_width` renamed `default_row_index_width` |
| 887 | - Move doc files to new docs folder |
| 888 | - Delete `version.py` file, move `__version__` variable to `__init__.py` |
| 889 | - Add backwards compatibility for `Sheet()` initialization parameters: |
| 890 | - `column_width` |
| 891 | - `header_height` |
| 892 | - `row_height` |
| 893 | - `row_index_width` |
| 894 | |
| 895 | ### Version 7.0.1 |
| 896 | #### Removed: |
| 897 | - Function `cell_edit_binding()` use `enable_bindings()` instead |
| 898 | - Function `edit_bindings()` use `enable_bindings()` instead |
| 899 | |
| 900 | #### Fixed: |
| 901 | - Error when closing a dropdown in the row index |
| 902 | - Menus modified for every binding for one call of enable/disable bindings with more than one binding |
| 903 | - Editing the index/header cells being allowed when using `enable_bindings("all")`/`enable_bindings()` when it's not supposed to |
| 904 | |
| 905 | #### Changed: |
| 906 | - `Sheet()` initialization parameter `column_width` renamed `default_column_width` |
| 907 | - `set_options()` keyword argument `column_width` renamed `default_column_width` |
| 908 | - `Sheet()` initialization parameter `header_height` renamed `default_header_height` |
| 909 | - `set_options()` keyword argument `header_height` renamed `default_header_height` |
| 910 | - `Sheet()` initialization parameter `row_height` renamed `default_row_height` |
| 911 | - `set_options()` keyword argument `row_height` renamed `default_row_height` |
| 912 | - `Sheet()` initialization parameter `auto_resize_default_row_index` renamed `auto_resize_row_index` |
| 913 | - `set_options()` keyword argument `auto_resize_default_row_index` renamed `auto_resize_row_index` |
| 914 | - `Sheet()` initialization parameter `enable_edit_cell_auto_resize` renamed `cell_auto_resize_enabled` |
| 915 | - `set_options()` keyword argument `enable_edit_cell_auto_resize` renamed `cell_auto_resize_enabled` |
| 916 | - Moved most changable sheet attributes to a dict variable named `ops` (which has dot notation access) accessible from the `Sheet` object |
| 917 | - The order of parameters has been changed for `Sheet()` initialization |
| 918 | - `Sheet` attribute `self.C` renamed `self.PAR` |
| 919 | - Various widget attributes named `self.parentframe` have been renamed `self.PAR` |
| 920 | - Return key on cell editor will move to the next cell regardless of whether the cell was edited |
| 921 | - Parameters for classes `TextEditor`, `TextEditor_`, `Dropdown |
| 922 | - Bindings for cut, copy, paste, delete, undo, redo no longer use both `Command` and `Control` but either one depending on the users operating system |
| 923 | - Internal arrow key binding methodology, if you were previously using this to change the arrow key bindings see [here](https://github.com/ragardner/tksheet/wiki/Version-7#changing-key-bindings) for info on adding arrow key bindings |
| 924 | |
| 925 | #### Added: |
| 926 | - A way to change the in-built popup menu labels, info [here](https://github.com/ragardner/tksheet/wiki/Version-7#sheet-languages-and-bindings) |
| 927 | - A way to change the in-built bindings for cut, copy, paste, delete, undo, redo, select all, all the arrowkey bindings and page up/down, info [here](https://github.com/ragardner/tksheet/wiki/Version-7#changing-key-bindings) |
| 928 | |
| 929 | ### Version 7.0.0 |
| 930 | #### Removed: |
| 931 | - `edit_cell_validation` from `Sheet()` initialization, `set_options()` and everywhere else due to confusion. Use the new function `edit_validation()` instead. |
| 932 | - Functions (use spans instead for the same purpose): |
| 933 | - `header_checkbox` |
| 934 | - `index_checkbox` |
| 935 | - `format_sheet` |
| 936 | - `delete_sheet_format` |
| 937 | - `dropdown_sheet` |
| 938 | - `delete_sheet_dropdown` |
| 939 | - `checkbox_sheet` |
| 940 | - `delete_sheet_checkbox` |
| 941 | |
| 942 | - Parameters: |
| 943 | - `verify` from functions `set_column_widths` and `set_row_heights` |
| 944 | |
| 945 | - Old unused and deprecated parameters for: |
| 946 | - `get_cell_data()`, `get_sheet_data()`, `get_row_data()`, `get_column_data()`, `yield_sheet_rows()` |
| 947 | - All checkbox and dropdown creation functions |
| 948 | |
| 949 | #### Fixed: |
| 950 | - Grid lines now properly raised above highlighted rows/columns |
| 951 | - Deselect events firing when unnecessary |
| 952 | |
| 953 | #### Changed: |
| 954 | - Using `extra_bindings()` with `"end_edit_cell"`/`"edit_cell"` no longer requires a return value in your bound function to set the cell value to. For end user cell edit validation use the new function `edit_validation()` instead |
| 955 | - Changed functions: |
| 956 | - Parameters and behavior: |
| 957 | - `checkbox` now is used to create checkboxes and utilises spans |
| 958 | - `delete_header_dropdown` default argument changed to required argument and can no longer delete a header wide dropdown |
| 959 | - `delete_index_dropdown` default argument changed to required argument and can no longer delete an index wide dropdown |
| 960 | |
| 961 | - Parameters only: |
| 962 | - `move_columns` most parameters changed |
| 963 | - `move_rows` most parameters changed |
| 964 | - `click_checkbox` most parameters changed |
| 965 | - `insert_row` parameter `idx` default argument changed to `None` |
| 966 | - `insert_column` parameter `idx` default argument changed to `None` |
| 967 | - `insert_rows` parameter `idx` default argument changed to `None` |
| 968 | - `insert_columns` parameter `idx` default argument changed to `None` |
| 969 | |
| 970 | - Renamed: |
| 971 | - `align` -> `table_align` |
| 972 | - Reorganised order of functions in `sheet.py` to match documentation |
| 973 | |
| 974 | #### Added: |
| 975 | - Method `edit_validation(func: Callable | None = None) -> None` to replace `edit_cell_validation` |
| 976 | - New methods for getting and setting data |
| 977 | - `bind` now also accepts `"<<SheetModified>>"` and `"<<SheetRedrawn>>"` arguments |
| 978 | - Redo, which is enabled when undo is enabled, use by pressing ctrl/cmd + shift + z |
| 979 | - Named spans for sheet options such as highlight, format |
| 980 | - Ctrl/cmd click deselect |
| 981 | - Ability to make currently selected box border different color to selection box border |
| 982 | |
| 983 | #### Other Changes: |
| 984 | - Overhaul and totally change event data sent to functions bound by `extra_bindings()` |
| 985 | - Deselect events are now labelled as "select" events, see the docs on `"selection_boxes"` for more information |
| 986 | - Overhaul internal selection box workings |
| 987 | - Rename tksheet files |
| 988 | - Pressing escape on text editors no longer generates an edit cell/header/index event |
| 989 | |
| 990 | ### Version 6.3.5 |
| 991 | #### Fixed: |
| 992 | - Error with function `set_currently_selected()` |
| 993 | |
| 994 | #### Addressed: |
| 995 | - [207](https://github.com/ragardner/tksheet/issues/207) |
| 996 | |
| 997 | ### Version 6.3.4 |
| 998 | #### Fixed: |
| 999 | - [#205](https://github.com/ragardner/tksheet/issues/205) |
| 1000 | |
| 1001 | ### Version 6.3.3 |
| 1002 | #### Improved: |
| 1003 | - Term searching improved when typing in a normal state dropdown box |
| 1004 | |
| 1005 | #### Removed: |
| 1006 | - `bind_event()` function, `bind()` to be used instead |
| 1007 | |
| 1008 | ### Version 6.3.2 |
| 1009 | #### Changed: |
| 1010 | - tksheet no longer supports Python 3.6, only versions 3.7+ |
| 1011 | |
| 1012 | #### Removed: |
| 1013 | Due to errors caused when using Python versions < 3.8 the following functions have been removed: |
| 1014 | - __bool__ |
| 1015 | - __len__ |
| 1016 | |
| 1017 | #### Fixed: |
| 1018 | - Sheet init error since version `6.3.0` when running Python 3.7 |
| 1019 | |
| 1020 | ### Version 6.3.1 |
| 1021 | #### Fixed: |
| 1022 | - Two `EditCellEvent`s being emitted, removed the one with `None` as `text` attribute |
| 1023 | - Selection box and currently selected box in different places when tab key pressed with single cell selected |
| 1024 | - Return key not working in dropdown box when mouse pointer is outside of dropdown |
| 1025 | - Visual issue: Dropdown arrow staying up when clicking on same cell with readonly dropdown state |
| 1026 | - Visual issue: Dropdown row/column all arrows in up position when one box is open |
| 1027 | |
| 1028 | #### Removed: |
| 1029 | - Many parameters from internal functions dealing with text editor to simplify code |
| 1030 | |
| 1031 | #### Changed: |
| 1032 | - Cell selection doesn't move on Return key when cell edit using text editor was invalid |
| 1033 | - Events for `extra_bindings()` end cut, delete and paste are no longer emitted if no changes were made |
| 1034 | |
| 1035 | #### Improved: |
| 1036 | - Term searching improved when typing in a normal state dropdown box |
| 1037 | |
| 1038 | ### Version 6.3.0 |
| 1039 | #### Fixed: |
| 1040 | - Cell editor right click not working |
| 1041 | - Cell editor select all not working |
| 1042 | |
| 1043 | #### Added: |
| 1044 | - Some methods to `Sheet` objects, see [documentation](https://github.com/ragardner/tksheet/wiki/Version-6#sheet-methods) for more information. |
| 1045 | - __bool__ |
| 1046 | - __len__ |
| 1047 | - __iter__ |
| 1048 | - __reversed__ |
| 1049 | - __contains__ |
| 1050 | |
| 1051 | ### Version 6.2.9 |
| 1052 | #### Fixed: |
| 1053 | - Incorrect row being targeted with hidden rows and text editor newline binding (potential error) |
| 1054 | |
| 1055 | ### Version 6.2.8 |
| 1056 | #### Fixed: |
| 1057 | - [#203](https://github.com/ragardner/tksheet/issues/203) |
| 1058 | |
| 1059 | ### Version 6.2.7 |
| 1060 | #### Fixed: |
| 1061 | - [#202](https://github.com/ragardner/tksheet/issues/202) |
| 1062 | |
| 1063 | ### Version 6.2.6 |
| 1064 | #### Fixed: |
| 1065 | - [#201](https://github.com/ragardner/tksheet/issues/201) |
| 1066 | - The ends of grid lines were incorrectly displaying connections with one another when only showing horizontal or vertical grid |
| 1067 | - When a cell dropdown and a row checkbox were in the same cell both would be drawn but only one would function, this has been changed to give dropdown boxes priority |
| 1068 | - Index text overlapping checkbox when alignment is `"right"`/`"e"`/`"east"` and index is not wide enough |
| 1069 | |
| 1070 | #### Added: |
| 1071 | - [#200](https://github.com/ragardner/tksheet/issues/200) |
| 1072 | |
| 1073 | ### Version 6.2.5 |
| 1074 | #### Fixed: |
| 1075 | - Error when zooming or using `see()` with empty table |
| 1076 | - Add initialization option `zoom` which is an `int` representing a percentage of the font size, `100` being no change |
| 1077 | |
| 1078 | #### Removed: |
| 1079 | - Some unnecessary internal variables |
| 1080 | |
| 1081 | ### Version 6.2.4 |
| 1082 | #### Added: |
| 1083 | - Zoom in/out bindings control + mousewheel |
| 1084 | - Zoom in bindings control + equals, control + plus |
| 1085 | - Zoom out binding control + minus |
| 1086 | |
| 1087 | ### Version 6.2.3 |
| 1088 | #### Fixed: |
| 1089 | - Bug with `format_row` using "all" |
| 1090 | |
| 1091 | ### Version 6.2.2 |
| 1092 | #### Fixed: |
| 1093 | - 2 pixel misalignment of index/header and table when scrolling |
| 1094 | - Undo cell edit not scrolling window |
| 1095 | |
| 1096 | #### Added: |
| 1097 | - Functionality to scroll multiple Sheets when scrolling one particular Sheet |
| 1098 | |
| 1099 | ### Version 6.2.1 |
| 1100 | #### Fixed: |
| 1101 | - Editing header and overflowing text editor so text wraps while using `auto_resize_columns` causes text editor to be out of position |
| 1102 | - `insert_columns()` when using an `int` for number of blank columns creates incorrect list layout |
| 1103 | |
| 1104 | ### Version 6.2.0 |
| 1105 | #### Fixed: |
| 1106 | - Removed some type hinting that was only available to python versions >= 3.9 |
| 1107 | |
| 1108 | ### Version 6.1.9 |
| 1109 | #### Fixed: |
| 1110 | - Issues that follow selection boxes being recreated such as resizing columns/rows |
| 1111 | |
| 1112 | ### Version 6.1.8 |
| 1113 | #### Added: |
| 1114 | - [#180](https://github.com/ragardner/tksheet/issues/180) |
| 1115 | |
| 1116 | ### Version 6.1.7 |
| 1117 | #### Fixed: |
| 1118 | - [#183](https://github.com/ragardner/tksheet/issues/183) |
| 1119 | - [#184](https://github.com/ragardner/tksheet/issues/184) |
| 1120 | |
| 1121 | ### Version 6.1.5 |
| 1122 | #### Fixed: |
| 1123 | - `extra_bindings()` not binding functions |
| 1124 | - [#181](https://github.com/ragardner/tksheet/issues/181) |
| 1125 | |
| 1126 | ### Version 6.1.4 |
| 1127 | #### Fixed: |
| 1128 | - Error with setting/getting header font |
| 1129 | - Setting fonts with `set_options()` not working |
| 1130 | - Setting fonts after table initialization didn't refresh selection boxes or top left rectangle dimensions |
| 1131 | |
| 1132 | #### Changed: |
| 1133 | - Replaced wildcard imports |
| 1134 | - Format code with 120 line length |
| 1135 | |
| 1136 | ### Version 6.1.3 |
| 1137 | #### Fixed: |
| 1138 | - Missing imports |
| 1139 | - Bug with `delete_rows()` |
| 1140 | - Bug with hidden columns, cell options and deleting columns with the inbuilt right click menu |
| 1141 | - Bug with a paste that expands the sheet where row lengths are uneven |
| 1142 | - Poor box selection for cut and copy with multiple selected boxes |
| 1143 | - Bug with `insert_columns()` with uneven row lengths |
| 1144 | - Bug with `insert_rows()` if new data contains row lengths that are longer than sheet data |
| 1145 | - Errors that occur when dragging and dropping rows/columns beyond the window |
| 1146 | |
| 1147 | ### Version 6.1.2 |
| 1148 | #### Fixed: |
| 1149 | - Further potential issues with moving columns where row lengths are uneven |
| 1150 | - Potential issues with using `move_rows()` where the provided index is larger than the number of rows |
| 1151 | - `dropdown_sheet()` causing error |
| 1152 | |
| 1153 | ### Version 6.1.1 |
| 1154 | #### Fixed: |
| 1155 | - [#177](https://github.com/ragardner/tksheet/issues/177) |
| 1156 | |
| 1157 | ### Version 6.1.0 |
| 1158 | #### Fixed: |
| 1159 | - Error with using `None` to create a dropdown for the entire index when index is not `int` |
| 1160 | |
| 1161 | ### Version 6.0.5 |
| 1162 | #### Fixed: |
| 1163 | - Bugs with using `None` to create dropdowns/checkboxes for entire header/index |
| 1164 | - Bug with creating dropdowns in row index |
| 1165 | - Bug with opening dropdowns in row index |
| 1166 | - Bug with `insert_rows()` if `rows` had more columns than existing sheet |
| 1167 | - Bug with `delete_column_dropdown()` |
| 1168 | - Bug with using external move rows/columns functions where `index_type` wasn't `"displayed"` |
| 1169 | - Bug with hidden rows and cutting/copying |
| 1170 | |
| 1171 | #### Changed: |
| 1172 | - Formatted code using `Black` |
| 1173 | |
| 1174 | ### Version 6.0.4 |
| 1175 | #### Fixed: |
| 1176 | - Bug with setting header height when header is set to `int` |
| 1177 | - Bug with clicking top left rectangle bars to reset header height / index width |
| 1178 | - Wrong colors showing when having rows and columns selected at the same time |
| 1179 | - Wrong colors showing for particular selection scenarios |
| 1180 | - Control select enabled when using `enable_bindings("all")` when it should only be enabled if using `enable_bindings("ctrl_select")` |
| 1181 | - When control select was disabled holding control/command would disable basic sheet bindings |
| 1182 | |
| 1183 | #### Added: |
| 1184 | - Add additional binding for `sheet.bind_event()`. `"<<SheetModified>>"` and `"<<SheetRedrawn>>"` are the two existing event options but currently only an empty dict is the associated data |
| 1185 | |
| 1186 | ### Version 6.0.3 |
| 1187 | #### Fixed: |
| 1188 | - `disable_bindings()` disable all bindings not disabling edit header/index capability |
| 1189 | - Undo not recreating all former selection boxes with cell edits |
| 1190 | - Undoing paste where sheet was expanded and rows were hidden didn't remove added rows |
| 1191 | - Bug with hidden rows and index highlights |
| 1192 | - Bug with hidden rows and text editor newline binding in main table |
| 1193 | - Bug with hidden rows and drag and drop rows |
| 1194 | - Issue where columns/rows that where selected already would not open dropdown boxes or toggle checkboxes |
| 1195 | |
| 1196 | #### Removed: |
| 1197 | - External function `edit_cell()`, use `open_cell()` and `set_currently_selected()` as alternative |
| 1198 | |
| 1199 | #### Added: |
| 1200 | - Control / Command selecting multiple non-consecutive boxes |
| 1201 | - Functions `checkbox_cell`, `checkbox_row`, `checkbox_column`, `checkbox_sheet`, `dropdown_cell`, `dropdown_row`, `dropdown_column`, `dropdown_sheet` and their related deletion functions |
| 1202 | |
| 1203 | #### Changed: |
| 1204 | - `extra_bindings()` undo event type `"insert_row"` renamed `"insert_rows"`, `"insert_col"` renamed `"insert_cols"` |
| 1205 | - `extra_bindings()` undo event `.storeddata` has changed for row/column drag drop undo events to `("move_cols" or "move_rows", original_indexes, new_indexes)` |
| 1206 | - Initialization argument `max_rh` renamed `max_row_height` |
| 1207 | - Initialization argument `max_colwidth` renamed `max_column_width` |
| 1208 | - Initialization argument `max_row_width` renamed `max_index_width` |
| 1209 | - `header_dropdown_functions`/`index_dropdown_functions`/`dropdown_functions` now return dict |
| 1210 | - Rename internal function `create_text_editor()` |
| 1211 | - Select all now maintains existing currently selected cell when using Control/Command - a |
| 1212 | - Renamed internal functions `check_views()` `check_xview()` `check_yview()` |
| 1213 | - Default argument `redraw` changed to `True` for dropdown/checkbox creation functions |
| 1214 | - Internal function `open_text_editor()` keyword argument `set_data_on_close` defaulted to `True` |
| 1215 | - Merge internal functions `edit_cell_()` and `open_text_editor()`, remove function `edit_cell_()` |
| 1216 | - Better graphical indicators for which columns/rows are being moved when dragging and dropping |
| 1217 | - Better retainment of selection boxes after undo cell edits |
| 1218 | |
| 1219 | ### Version 6.0.2 |
| 1220 | #### Fixed: |
| 1221 | - Right click delete rows bug [PR#171](https://github.com/ragardner/tksheet/pull/171) |
| 1222 | |
| 1223 | ### Version 6.0.1 |
| 1224 | #### Fixed: |
| 1225 | - Data getting with `get_displayed = True` not returning checkbox text and also in the main table dropdown box text |
| 1226 | - None being displayed on table instead of empty string |
| 1227 | - `insert_columns()`/`insert_rows()` with hidden columns/rows not working quite right |
| 1228 | |
| 1229 | #### Added: |
| 1230 | - Hidden rows capability use `display_rows()`/`hide_rows()` and read the documentation for more info |
| 1231 | |
| 1232 | #### Changed: |
| 1233 | - Some functions have had their `redraw` keyword argument defaulted to `True` instead of `False` such as `highlight_cells()` |
| 1234 | - `hide_rows()`/`hide_columns()` `refresh` arg changed to `redraw` |
| 1235 | - `hide_rows()`/`hide_columns()` now uses displayed indexes not data |
| 1236 | |
| 1237 | ### Version 6.0.0 |
| 1238 | #### Fixed: |
| 1239 | - Undo added to stack when no changes made with cut, paste, delete |
| 1240 | - Using generator with `set_column_widths()`/`set_row_heights()` would result in lost first width/height |
| 1241 | - Header/Index dropdown `modified_function` not sending modified event |
| 1242 | - Escape out of dropdown box doesn't reset arrow orientation |
| 1243 | |
| 1244 | #### Added: |
| 1245 | - Cell formatters, thanks to [PR#158](https://github.com/ragardner/tksheet/pull/158) |
| 1246 | - `format_cell()`, `format_row()`, `format_column()`, `format_sheet()` |
| 1247 | - Options for changing output to clipboard delimiter, quotechar, lineterminator and option for setting paste delimiter detection |
| 1248 | - Bindings `"up" "down" "left" "right" "prior" "next"` to enable arrowkey bindings individually use with `enable_bindings()`/`disable_bindings()` |
| 1249 | = Dropdowns now have a search feature which searches their values after the entry box is modified (if dropdown is state `normal`) |
| 1250 | - Dropdown kwargs `search_function`, `validate_input` and `text` |
| 1251 | |
| 1252 | #### Removed: |
| 1253 | - Startup arg `ctrl_keys_over_dropdowns_enabled`, also removed in `set_options()` |
| 1254 | - `set_copy` arg in `set_cell_data()` |
| 1255 | - `return_copy` arg in data getting functions but will not generate error if used as keyword arg |
| 1256 | |
| 1257 | #### Changed: |
| 1258 | - `index_border_fg` and `header_border_fg` no longer work, they now use the relevant grid foreground options |
| 1259 | - `"dark"`/`"black"` themes |
| 1260 | - Dropdowns now default to state `"normal"` and validate input by default |
| 1261 | - `set_dropdown_values()`/`set_index_dropdown_values()`/`set_header_dropdown_values()` keyword argument `displayed` changed to `set_value` for clarity |
| 1262 | - Checkbox click extra binding and edit cell extra binding (when associated with a checkbox click) return `bool` now, not `str` |
| 1263 | - `get_cell_data()`/`get_row_data()`/`get_column_data()` have had an overhaul and have different keyword arguments, see documentation for more information. They also now return empty string/s if index is out of bounds (instead of `None`s) |
| 1264 | - Rename some internal functions for consistency |
| 1265 | - Extra bindings delete key now returns dict instead of list for boxes |
| 1266 | |
| 1267 | ### Version 5.6.8 |
| 1268 | #### Fixed: |
| 1269 | - [#159](https://github.com/ragardner/tksheet/issues/159) |
| 1270 | |
| 1271 | #### Changed: |
| 1272 | - `"dark"` theme now looks more appropriate for MacOS dark theme |
| 1273 | |
| 1274 | ### Version 5.6.7 |
| 1275 | Fixed: |
| 1276 | - [#157](https://github.com/ragardner/tksheet/issues/157) |
| 1277 | - Double click row height resize not taking into account index checkbox text |
| 1278 | |
| 1279 | Changed: |
| 1280 | - Some internal variables local to redrawing functions for clarity |
| 1281 | |
| 1282 | ### Version 5.6.6 |
| 1283 | Fixed: |
| 1284 | - `delete_rows()`/`delete_columns()` incorrect row heights/column widths after use |
| 1285 | - Tab key not seeing cell if out of sight |
| 1286 | - Row height / column width resizing with mouse incorrect by 1 pixel |
| 1287 | - Row index not extending if too short when changing a specific index |
| 1288 | - Selected rows/columns border fg not displaying in cell border |
| 1289 | - Various minor text placements |
| 1290 | - Edit index/header prematurely resizing height/width |
| 1291 | |
| 1292 | Improved: |
| 1293 | - Significant performance improvements in redrawing table, especially when simply selecting cells |
| 1294 | - All themes |
| 1295 | - Can now drag and drop columns and rows with or without shift being held down, mouse cursor changes to hand when over selected |
| 1296 | |
| 1297 | Changed: |
| 1298 | - Dropdown box colors now use popup menu colors |
| 1299 | - Checkboxes no longer have X inside, instead simply a smaller more distinct rectangle to improve redrawing performance |
| 1300 | |
| 1301 | ### Version 5.6.5 |
| 1302 | Fixed: |
| 1303 | - [#152](https://github.com/ragardner/tksheet/issues/152) |
| 1304 | |
| 1305 | ### Version 5.6.4 |
| 1306 | Fixed: |
| 1307 | - `set_row_heights()`/`set_column_widths()` failing to set if iterable was empty |
| 1308 | - `delete_rows()`/`delete_columns()` failing to delete row heights, column widths if arg is empty |
| 1309 | - Edges of grid lines appearing when not meant to |
| 1310 | |
| 1311 | Changed: |
| 1312 | - Add `redraw` option for `change_theme()` |
| 1313 | |
| 1314 | ### Version 5.6.3 |
| 1315 | Fixed: |
| 1316 | - Dropdown boxes in main table not opening in certain circumstances |
| 1317 | - Scrollbars not having correct column/rowspan |
| 1318 | - Error when moving header height |
| 1319 | - Resizing arrows still showing up when hiding header/index if height/width resizing enabled |
| 1320 | |
| 1321 | Added: |
| 1322 | - `header` startup argument, same as `headers` |
| 1323 | |
| 1324 | Changed: |
| 1325 | - Increase default maximum undos from 20 to 30 |
| 1326 | - Removed dropdown box border, to get them back use `show_dropdown_borders = True` on startup or with `set_options()` |
| 1327 | - Removed unnecessary variables and tidied `__init__` code |
| 1328 | |
| 1329 | ### Version 5.6.2 |
| 1330 | Fixed: |
| 1331 | - [#154](https://github.com/ragardner/tksheet/issues/154) |
| 1332 | - `delete_column()` not working with hidden columns |
| 1333 | - `insert_column()`/`insert_columns()` not working correctly with hidden columns |
| 1334 | |
| 1335 | Added: |
| 1336 | - `delete_columns()`, `delete_rows()` |
| 1337 | |
| 1338 | Changed: |
| 1339 | - `delete_column()`/`delete_row()` now use `delete_columns()`/`delete_rows()` internally |
| 1340 | - `insert_column()` now uses `insert_columns()` internally |
| 1341 | |
| 1342 | ### Version 5.6.1 |
| 1343 | Fixed: |
| 1344 | - [#153](https://github.com/ragardner/tksheet/issues/153) |
| 1345 | |
| 1346 | Changed: |
| 1347 | - Adjust dropdown arrow sizes for more consistency for varying fonts |
| 1348 | |
| 1349 | ### Version 5.6.0 |
| 1350 | Fixed: |
| 1351 | - Issues and possible errors with dropdowns/checkboxes/cell edits |
| 1352 | - `delete_dropdown()`/`delete_checkbox()` issues |
| 1353 | |
| 1354 | Changed: |
| 1355 | - Deprecated external functions `create_text_editor()`/`get_text_editor_value()`/`bind_text_editor_set()` as they no longer worked both externally and internally, use `open_cell()` instead |
| 1356 | - Renamed internal function `get_text_editor_value()` to `close_text_editor()` |
| 1357 | |
| 1358 | Improved: |
| 1359 | - Slightly boost performance if there are many cells onscreen and gridlines are showing |
| 1360 | - You can now use the scroll wheel in the header to vertically scroll if there are multiple lines in the column headers |
| 1361 | - Improvements to text editor |
| 1362 | - Text now draws slightly closer to cell edges in certain scenarios |
| 1363 | - Improved visibility of dropdown box against sheet background |
| 1364 | - Improved dropdown window height |
| 1365 | - black theme selected cells border color |
| 1366 | - light green theme selected cells background color |
| 1367 | |
| 1368 | ### Version 5.5.3 |
| 1369 | Fixed: |
| 1370 | - Error on start |
| 1371 | |
| 1372 | ### Version 5.5.2 |
| 1373 | Fixed: |
| 1374 | - Row index missing itertools repeat |
| 1375 | - Header checkbox, index checkbox bugs |
| 1376 | - Row index editing errors |
| 1377 | - `move_columns()`/`move_rows()` redrawing when not supposed to |
| 1378 | - `move_row()`/`move_column()` error |
| 1379 | - `delete_out_of_bounds_options()` error |
| 1380 | - `dehighlight_cells()` incorrectly wiping all cell options when `"all"` is used |
| 1381 | |
| 1382 | Changed: |
| 1383 | - `set_column_widths()`/`set_row_heights()` can now receive any iterable if `canvas_positions` is `False` |
| 1384 | - Tidied internal row/column moving code |
| 1385 | |
| 1386 | ### Version 5.5.1 |
| 1387 | Fixed: |
| 1388 | - `display_columns()` no longer redraws if `deselect_all` is `True` even when `redraw` is `False` |
| 1389 | - `extra_bindings()` cell editors carrying out cell edits even if validation function returns `None` |
| 1390 | - Index and header alignments wrongly associated with column and row alignments if `align_header`/`align_index` were `False` |
| 1391 | - Undo drag and drop wrong position if columns move back to higher index |
| 1392 | - Error when shift b1 press in headers/index while using extra bindings |
| 1393 | |
| 1394 | Changed: |
| 1395 | - Internal variable name `data_ref` to `data` |
| 1396 | - `get_currently_selected()` and `currently_selected()` see documentation for more information |
| 1397 | - The way `extra_bindings()` + `begin_edit_cell` works, now if `None` is returned then the cell editor will not be opened |
| 1398 | - Paste repeats when selection box is larger than pasted items and is a multiple of pasted box |
| 1399 | - `move_row()`/`move_column()` now internally use `move_rows()`/`move_columns()` |
| 1400 | - `black` theme text to be a lot brighter |
| 1401 | |
| 1402 | Added: |
| 1403 | - Spacebar to edit cell keys |
| 1404 | - Function `open_cell()` which uses currently selected box and mouse event |
| 1405 | - Function `data` see the documentation for more info |
| 1406 | - Functions `get_cell_alignments()`, `get_row_alignments()`, `get_column_alignments()`, `reset_all_options()`, `delete_out_of_bounds_options()` |
| 1407 | - Functions `move_columns()`, `move_rows()` |
| 1408 | |
| 1409 | ### Version 5.5.0 |
| 1410 | - Deprecate functions `display_subset_of_columns()`, `displayed_columns()` |
| 1411 | - Change `get_text_editor_value()` function argument `destroy_tup` to `editor_info` |
| 1412 | - Change `display_columns()` function argument `indexes` to `columns` |
| 1413 | - Change `display_columns()` function argument `enable` to `all_columns_displayed` |
| 1414 | - Change some internal variable names |
| 1415 | - Remove all calls to `update()` from `tksheet` |
| 1416 | - Fix row index `"e"` text alignment bug |
| 1417 | - Fix checkbox text not showing in main table when not using west alignment |
| 1418 | - Fix `total_rows()` bug |
| 1419 | - Fix dropdown arrow being asymmetrical with different font sizes |
| 1420 | - Fix incorrect default headers while using hidden columns |
| 1421 | - Fix issue with `get_sheet_data()` if including index and header not putting a corner cell in the top left |
| 1422 | - Modify redrawing code, slightly improve redrawing efficiency in some scenarios |
| 1423 | - Add dropdown boxes, check boxes and cell editing to index |
| 1424 | - Add options `edit_cell_validation` which is an option for `extra_bindings`, see the documentation for more info |
| 1425 | - Add function `yield_sheet_rows()` which includes default index and header values if using them |
| 1426 | - Add function `hide_columns()` which allows input of columns to hide, instead of columns to display |
| 1427 | - Add functions related to index editing, checkboxes and dropdown boxes |
| 1428 | - Add default argument `show_default_index_for_empty` |
| 1429 | - Add `Edit header` option to in-built right click menu if both are enabled |
| 1430 | - Add `Edit index` option to in-built right click menu if both are enabled |
| 1431 | - Add `Edit cell` option to in-built right click menu if both are enabled |
| 1432 | - Documentation updates |
| 1433 | |
| 1434 | ### Version 5.4.1 |
| 1435 | - Fix bugs with functions `readonly_header()`, `checkbox()` and `header_checkbox()` |
| 1436 | - Clarify table colors documentation |
| 1437 | |
| 1438 | ### Version 5.4.0 |
| 1439 | - Improve documentation a bit |
| 1440 | |
| 1441 | ### Version 5.3.9 |
| 1442 | - Fix bug with paste without anything selected |
| 1443 | - Minor fix to highlight functions which could cause an error using certain args |
| 1444 | - Fix `ctrl_keys_over_dropdowns_enabled` initialization arg not setting |
| 1445 | |
| 1446 | ### Version 5.3.8 |
| 1447 | - Fix focus out of table cell editor by clicking on header not setting cell |
| 1448 | |
| 1449 | ### Version 5.3.7 |
| 1450 | - Fix issue with `enable_bindings()`/`disable_bindings()` no longer accept a tuple |
| 1451 | - Fix drag and drop bugs introduced in 5.3.6 |
| 1452 | - Fix bugs with header set to integer introduced in 5.3.6 |
| 1453 | |
| 1454 | ### Version 5.3.6 |
| 1455 | - Editable and readonly dropdown boxes and checkboxes in the header |
| 1456 | - Add readonly functions to header |
| 1457 | - Editable header using `enable_bindings("edit_header") |
| 1458 | - Display text next to checkboxes in cells using `text` argument (is not considered data just for display, the data is either `True` or `False` in a checkbox) |
| 1459 | - Move position of checkboxes and dropdown boxes to top left of cells |
| 1460 | - Enable dragging and dropping columns when there are hidden columns, including undo |
| 1461 | - Checkboxes no longer editable using `Delete`, `Paste` or `Cut` |
| 1462 | - Dropdown boxes no longer editable using `Delete`, `Paste` or `Cut` unless dropdown box has a value which matches, override this behaviour with new option `ctrl_keys_over_dropdowns_enabled` |
| 1463 | - More logical behaviour around checkboxes and dropdown boxes and bindings |
| 1464 | - Many improvements and bug fixes |
| 1465 | |
| 1466 | ### Version 5.3.5 |
| 1467 | - Fix control commands not working when top left has focus |
| 1468 | - Fix bug when undoing paste where extra rows/columns were added during the paste (disabled by default) |
| 1469 | |
| 1470 | ### Version 5.3.4 |
| 1471 | - Unnecessary folder deletion |
| 1472 | - Add new theme `dark` |
| 1473 | |
| 1474 | ### Version 5.3.3 |
| 1475 | - Add `add` parameter to `.bind()` function (only works for bindings which are not the following: `"<ButtonPress-1>"`, `"<ButtonMotion-1>"`, `"<ButtonRelease-1>"`, `"<Double-Button-1>"`, `"<Motion>"` and lastly whichever is your operating systems right mouse click button) |
| 1476 | |
| 1477 | ### Version 5.3.2 |
| 1478 | - Fix Backspace binding in main table |
| 1479 | |
| 1480 | ### Version 5.3.1 |
| 1481 | - Fix minor issues with `startup_select` argument |
| 1482 | - Fix extra menus being created in memory |
| 1483 | |
| 1484 | ### Version 5.3.0 |
| 1485 | - Fix shift select error in main table when nothing else is selected |
| 1486 | |
| 1487 | ### Version 5.2.9 |
| 1488 | - Fix text editor not opening in highlighted cells |
| 1489 | - Linux return key in cell editor fix |
| 1490 | - Fix potential error with check box / dropdown |
| 1491 | |
| 1492 | ### Version 5.2.8 |
| 1493 | - Make dropdown box border consistent color |
| 1494 | - Fix error with modifier key press on editable dropdown boxes |
| 1495 | |
| 1496 | ### Version 5.2.7 |
| 1497 | - Improve looks of dropdown arrows and fix slight overlapping with text |
| 1498 | - Check boxes no longer show `Tr` and `Fa` when cell is too small for check box for large enough for text |
| 1499 | |
| 1500 | ### Version 5.2.6 |
| 1501 | - Fix issues with editable (`"normal"`) dropdown boxes and focus out bindings |
| 1502 | - Editable dropdown boxes now respond normally to character, backspace etc. key presses |
| 1503 | |
| 1504 | ### Version 5.2.5 |
| 1505 | - Fix bug with highlighted cells being readonly |
| 1506 | |
| 1507 | ### Version 5.2.4 |
| 1508 | - Fix user bound right click event not firing due to right click context menu |
| 1509 | - Fix issues with hidden columns and right click insert columns |
| 1510 | |
| 1511 | ### Version 5.2.3 |
| 1512 | - Fix error on deleting row with dropdown box |
| 1513 | - Fix issues with deleting columns with check boxes, dropdown boxes |
| 1514 | |
| 1515 | ### Version 5.2.2 |
| 1516 | - Improve looks for dropdown arrows |
| 1517 | - Fix grid lines in certain drop down boxes |
| 1518 | - Fix dropdown scroll bar showing up when not needed |
| 1519 | - After resizing rows/columns if mouse is in same position cursor reacts accordingly again |
| 1520 | |
| 1521 | ### Version 5.2.1 |
| 1522 | - Remove `see` argument from `create_checkbox()` and `create_dropdown()` because they rely on data indexes whereas `see()` relies on displayed indexes |
| 1523 | - Fix undo not working with check box toggle |
| 1524 | - Fix error on clicking sheet empty space |
| 1525 | - Improve check box looks |
| 1526 | - Fix bugs related to hidden columns and dropdowns/checkboxes |
| 1527 | - Disable align from working with `create_dropdown()` because it was broken with anything except left alignment |
| 1528 | - Code cleanup |
| 1529 | |
| 1530 | ### Version 5.2.0 |
| 1531 | - Adjust dropdown box heights slightly |
| 1532 | - Fix extra bindings begin edit cell making cell edit delete contents |
| 1533 | - Make many events namedtuples for better clarity |
| 1534 | - Add checkbox functionality |
| 1535 | |
| 1536 | ### Version 5.1.7 |
| 1537 | - Fix double button-1 not editing cell |
| 1538 | - Fix error with edit cell extra bindings |
| 1539 | |
| 1540 | ### Version 5.1.6 |
| 1541 | - Fix dropdown box and checkbox triggering off of non-Return keypresses |
| 1542 | - Fix issues with readonly cells and rows and control actions such as cut, delete, paste |
| 1543 | - Begin to add checkbox code |
| 1544 | - Some code cleanup |
| 1545 | |
| 1546 | ### Version 5.1.5 |
| 1547 | - Fix center, e text alignment with dropdowns |
| 1548 | - Fix potential error when closing root Tk() window |
| 1549 | |
| 1550 | ### Version 5.1.4 |
| 1551 | - Fix error when hiding columns and creating dropdown boxes |
| 1552 | - Fix dropdown box sizes |
| 1553 | |
| 1554 | ### Version 5.1.3 |
| 1555 | - Major fixes for dropdown boxes and possibly cell editor |
| 1556 | - Fix mouse click outside cell edit window not setting cell value |
| 1557 | - International characters should work to edit a cell by default |
| 1558 | - Minor improvements |
| 1559 | |
| 1560 | ### Version 5.1.2 |
| 1561 | - Bugfixes and improvements related to `5.1.0` |
| 1562 | |
| 1563 | ### Version 5.1.1 |
| 1564 | - Bugfixes and improvements related to `5.1.0` |
| 1565 | |
| 1566 | ### Version 5.1.0 |
| 1567 | - Overhaul dropdowns |
| 1568 | - Replace ttk dropdown widget |
| 1569 | |
| 1570 | ### Version 5.0.34 |
| 1571 | - Fix `None` returned with `get_row_data()` when `get_copy` is `False` |
| 1572 | - Add bindings for column width resize and row height resize |
| 1573 | - Fix error with function `get_dropdowns()` |
| 1574 | |
| 1575 | ### Version 5.0.33 |
| 1576 | - Add default argument `selection_function` to `create_dropdown()` |
| 1577 | |
| 1578 | ### Version 5.0.32 |
| 1579 | - Add sheet refreshing to delete_row(), delete_column() |
| 1580 | |
| 1581 | ### Version 5.0.31 |
| 1582 | - Fixed insert rows/columns below/left working incorrectly |
| 1583 | |
| 1584 | ### Version 5.0.30 |
| 1585 | - Fixed issue with cell editor stripping whitespace from the end of value |
| 1586 | |
| 1587 | ### Version 5.0.29 |
| 1588 | - Update documentation |
| 1589 | - `insert_row` argument `add_columns` now `False` by default for better performance |
| 1590 | |
| 1591 | ### Version 5.0.28 |
| 1592 | - Various minor improvements |
| 1593 | |
| 1594 | ### Version 5.0.27 |
| 1595 | - Internally set `all_columns_displayed` to `True` when user chooses full list of columns as argument for `display_columns()`/`display_subset_of_columns()` |
| 1596 | |
| 1597 | ### Version 5.0.26 |
| 1598 | - Add option `expand_sheet_if_paste_too_big` in initialization and `set_options()` which adds rows/columns if paste is too large for sheet, disabled by default |
| 1599 | |
| 1600 | ### Version 5.0.25 |
| 1601 | - Select all now needs to be enabled separately from `"drag_select"` using `"select_all"` |
| 1602 | - Separate Control / Command bindings based on OS |
| 1603 | |
| 1604 | ### Version 5.0.24 |
| 1605 | - Fix documentation link |
| 1606 | |
| 1607 | ### Version 5.0.23 |
| 1608 | - Fix page up/down cell select event not being created if user has cell selected |
| 1609 | |
| 1610 | ### Version 5.0.22 |
| 1611 | - Put all begin extra functions inside try/except, returns on exception |
| 1612 | |
| 1613 | ### Version 5.0.21 |
| 1614 | - Attempt to fix PyPi version issue |
| 1615 | |
| 1616 | ### Version 5.0.2 |
| 1617 | - `set_sheet_data()` no longer verifies by default that data is list of lists (inbuilt functionality such as cell editing still requires list of lists though) |
| 1618 | - Initialization argument `data` allows tuple or list |
| 1619 | |
| 1620 | ### Version 5.0.19 |
| 1621 | - Scrolling with arrowkeys improvements |
| 1622 | |
| 1623 | ### Version 5.0.18 |
| 1624 | - Fix bug with hiding scrollbars not working |
| 1625 | |
| 1626 | ### Version 5.0.17 |
| 1627 | - Cell highlight tkinter colors no longer case sensitive |
| 1628 | - Add additional items to `end_edit_cell` event responses |
| 1629 | |
| 1630 | ### Version 5.0.16 |
| 1631 | - Add function `default_column_width()` and add `column_width` to function `set_options()` |
| 1632 | - Add functions `get_dropdown_values()` and `set_dropdown_values()` |
| 1633 | - Add row and column arguments to `get_dropdown_value()` to get a specific dropdown boxes value |
| 1634 | - `create_dropdown()` argument `see` is now `False` by default |
| 1635 | |
| 1636 | ### Version 5.0.15 |
| 1637 | - Add functions `popup_menu_add_command()` and `popup_menu_del_command()` for extra commands on in-built right click popup menu |
| 1638 | - Update documentation |
| 1639 | |
| 1640 | ### Version 5.0.14 |
| 1641 | - Remove some unnecessary code (`preserve_other_selections` arguments in some functions) |
| 1642 | - Add documentation file, update readme file |
| 1643 | |
| 1644 | ### Version 5.0.13 |
| 1645 | - Add extra variable to undo event |
| 1646 | - Edit cell no longer creates undo if cell is left unchanged |
| 1647 | |
| 1648 | ### Version 5.0.12 |
| 1649 | - Remove/add scrollbars depending on if window can be scrolled |
| 1650 | - Fix bug with delete key |
| 1651 | |
| 1652 | ### Version 5.0.11 |
| 1653 | - Add default height and width if a height is used without a width or vice versa |
| 1654 | |
| 1655 | ### Version 5.0.1 |
| 1656 | - Add right (`e`) cell alignment for index and header |
| 1657 | |
| 1658 | ### Version 5.0.0 |
| 1659 | - Fix errors with `insert_column()` and `insert_columns()` |
| 1660 | |
| 1661 | ### Version 4.9.99 |
| 1662 | - Fixed bugs with row copying where `list(repeat(list(repeat(` was used in code to create empty list of lists |
| 1663 | - Made cell resize to text (width only) take dropdown boxes into account |
| 1664 | |
| 1665 | ### Version 4.9.98 |
| 1666 | - Fix error with dropdown box close while showing all columns |
| 1667 | |
| 1668 | ### Version 4.9.97 |
| 1669 | - Fix bug with `delete_row()` and `delete_column()` functions when used with default arguments |
| 1670 | |
| 1671 | ### Version 4.9.96 |
| 1672 | - Fix bug with dragging scrollbar when columns are shorter than window |
| 1673 | - Add startup argument `after_redraw_time_ms` default is `100` |
| 1674 | |
| 1675 | ### Version 4.9.95 |
| 1676 | - Fix bug with `insert_rows()` |
| 1677 | - Add `redraw` default argument to many functions, default is `False` |
| 1678 | |
| 1679 | ### Version 4.9.92 - 4.9.94 |
| 1680 | - Hopefully fix Linux mousewheel |
| 1681 | |
| 1682 | ### Version 4.9.91 |
| 1683 | - Fix auto resize issue |
| 1684 | |
| 1685 | ### Version 4.9.9 |
| 1686 | - Attempt to fix Linux mousewheel scrolling |
| 1687 | - Add `enable_edit_cell_auto_resize` option to startup and `set_options` default is `True` |
| 1688 | |
| 1689 | ### Version 4.9.8 |
| 1690 | - Fix potential issue with undo and dictionary copying |
| 1691 | - Fix potential errors when moving/inserting/deleting rows/columns |
| 1692 | - Add drop down position refresh to delete columns/rows on right click menu |
| 1693 | |
| 1694 | ### Version 4.9.7 |
| 1695 | - Various bug fixes and improvements |
| 1696 | - Add readonly cells/columns/rows |
| 1697 | |
| 1698 | ### Version 4.9.6 |
| 1699 | - Fix bugs with `font()` functions |
| 1700 | - Fix edit cell bug when hiding columns |
| 1701 | |
| 1702 | ### Version 4.9.5 |
| 1703 | - Attempt to fix scrolling issues |
| 1704 | |
| 1705 | ### Version 4.9.4 |
| 1706 | - Make `display_subset_of_columns()` and other names of the same function always sort the showing columns |
| 1707 | - Make right click insert columns left shift data columns along |
| 1708 | - Fix issues with `insert_column()`/`insert_columns()` when hiding columns |
| 1709 | - Add default arguments `mod_column_positions` to functions `insert_column()`/`insert_columns()` which when set to `False` only changes data, not number of showing columns |
| 1710 | - Add `"e"` aka right hand side text alignment for main table, have not added to header or index yet |
| 1711 | - Add functions `align_cells()`, `align_rows()`, `align_columns()` |
| 1712 | |
| 1713 | ### Version 4.9.3 |
| 1714 | - Fix paste bug |
| 1715 | - Fix mac os vertical scroll code |
| 1716 | |
| 1717 | ### Version 4.9.2 |
| 1718 | - Add mac OS command c, x, v, z bindings |
| 1719 | - Make shift - mousewheel horizontal scroll |
| 1720 | |
| 1721 | ### Version 4.9.1 |
| 1722 | - Make alt tab windows maintain open cell edit box |
| 1723 | - Fix bug in `insert_columns()` |
| 1724 | |
| 1725 | ### Version 4.8.9 - 4.9.0 |
| 1726 | - Make functions `insert_row()`, `insert_column()`, `delete_row()`, `delete_column()` adjust highlighted cells/rows/columns to maintain correct highlight indexes |
| 1727 | - Built in right click functions now also auto-update highlighted cells/rows/columns |
| 1728 | - Add argument `reset_highlights` to `set_sheet_data()` default is `False` |
| 1729 | - Add function `dehighlight_all()` |
| 1730 | - Various bug fixes |
| 1731 | - Right click insert column when hiding columns has been changed to always insert fresh new columns |
| 1732 | |
| 1733 | ### Version 4.8.8 |
| 1734 | - Fix bug with `highlight` functions where `fg` is set but not `bg` |
| 1735 | |
| 1736 | ### Version 4.8.7 |
| 1737 | - Fix delete key bug |
| 1738 | |
| 1739 | ### Version 4.8.6 |
| 1740 | - Change many values sent to functions set by `extra_bindings()` - begin is before action is taken, end is after |
| 1741 | |
| 1742 | | Binding | Response | |
| 1743 | |--------------------------------|------------------------------------------------------------------------:| |
| 1744 | |"begin_ctrl_c" |("begin_ctrl_c", boxes, currently_selected) | |
| 1745 | |"end_ctrl_c" |("end_ctrl_c", boxes, currently_selected, rows) | |
| 1746 | |"begin_ctrl_x" |("begin_ctrl_x", boxes, currently_selected) | |
| 1747 | |"end_ctrl_x" |("end_ctrl_x", boxes, currently_selected, rows) | |
| 1748 | |"begin_ctrl_v" |("begin_ctrl_v", currently_selected, rows) | |
| 1749 | |"end_ctrl_v" |("end_ctrl_v", currently_selected, rows) | |
| 1750 | |"begin_delete_key" |("begin_delete_key", boxes, currently_selected) | |
| 1751 | |"end_delete_key" |("end_delete_key", boxes, currently_selected) | |
| 1752 | |"begin_ctrl_z" |("begin_ctrl_z", change type) | |
| 1753 | |"end_ctrl_z" |("end_ctrl_z", change type) | |
| 1754 | |"begin_insert_columns" |("begin_insert_columns", stidx, posidx, numcols) | |
| 1755 | |"end_insert_columns" |("end_insert_columns", stidx, posidx, numcols) | |
| 1756 | |"begin_insert_rows" |("begin_insert_rows", stidx, posidx, numrows) | |
| 1757 | |"end_insert_rows" |("end_insert_rows", stidx, posidx, numrows) | |
| 1758 | |"begin_row_index_drag_drop" |("begin_row_index_drag_drop", orig_selected_rows, r) | |
| 1759 | |"end_row_index_drag_drop" |("end_row_index_drag_drop", orig_selected_rows, new_selected, r) | |
| 1760 | |"begin_column_header_drag_drop" |("begin_column_header_drag_drop", orig_selected_cols, c) | |
| 1761 | |"end_column_header_drag_drop" |("end_column_header_drag_drop", orig_selected_cols, new_selected, c) | |
| 1762 | |
| 1763 | `boxes` are all selection box coordinates in the table, currently selected is cell coordinates |
| 1764 | |
| 1765 | `rows` (in ctrl_c, ctrl_x and ctrl_v) is a list of lists which represents the data which was worked on |
| 1766 | |
| 1767 | - Right click insert columns/rows now inserts as many as selected or one if none selected |
| 1768 | - Some minor improvements |
| 1769 | |
| 1770 | ### Version 4.8.5 |
| 1771 | - Fix line creation when click drag resizing index |
| 1772 | - Improve looks of top left rectangle resizers when one is disabled |
| 1773 | |
| 1774 | ### Version 4.8.4 |
| 1775 | - Fix bug in `insert_row_positions()` |
| 1776 | |
| 1777 | ### Version 4.8.3 |
| 1778 | - Make `enable_bindings()` and `disable_bindings()` without arguments do all bindings |
| 1779 | - Fix top left resizers not showing up if enabling/disabling all bindings |
| 1780 | - Improve look and feel of drag and drop |
| 1781 | - Fix bug in certain circumstances with `insert_row_positions()` |
| 1782 | - Fix `highlight_rows()` bug |
| 1783 | |
| 1784 | ### Version 4.8.2 |
| 1785 | - Fix old color name, credit `ministiy` |
| 1786 | |
| 1787 | ### Version 4.8.1 |
| 1788 | - Make drag selection only redraw table when rectangle dimensions change instead of mouse moves |
| 1789 | |
| 1790 | ### Version 4.8.0 |
| 1791 | - Adjust light green theme colors slightly |
| 1792 | - Changed all color option argument names for better clarity |
| 1793 | |
| 1794 | | Old Name | New Name | |
| 1795 | |------------------------------|----------------------------------:| |
| 1796 | |frame_background |frame_bg | |
| 1797 | |grid_color |table_grid_fg | |
| 1798 | |table_background |table_bg | |
| 1799 | |text_color |table_fg | |
| 1800 | |selected_cells_border_color |table_selected_cells_border_fg | |
| 1801 | |selected_cells_background |table_selected_cells_bg | |
| 1802 | |selected_cells_foreground |table_selected_cells_fg | |
| 1803 | |selected_rows_border_color |table_selected_rows_border_fg | |
| 1804 | |selected_rows_background |table_selected_rows_bg | |
| 1805 | |selected_rows_foreground |table_selected_rows_fg | |
| 1806 | |selected_columns_border_color |table_selected_columns_border_fg | |
| 1807 | |selected_columns_background |table_selected_columns_bg | |
| 1808 | |selected_columns_foreground |table_selected_columns_fg | |
| 1809 | |resizing_line_color |resizing_line_fg | |
| 1810 | |drag_and_drop_color |drag_and_drop_bg | |
| 1811 | |row_index_background |index_bg | |
| 1812 | |row_index_foreground |index_fg | |
| 1813 | |row_index_border_color |index_border_fg | |
| 1814 | |row_index_grid_color |index_grid_fg | |
| 1815 | |row_index_select_background |index_selected_cells_bg | |
| 1816 | |row_index_select_foreground |index_selected_cells_fg | |
| 1817 | |row_index_select_row_bg |index_selected_rows_bg | |
| 1818 | |row_index_select_row_fg |index_selected_rows_fg | |
| 1819 | |header_background |header_bg | |
| 1820 | |header_foreground |header_fg | |
| 1821 | |header_border_color |header_border_fg | |
| 1822 | |header_grid_color |header_grid_fg | |
| 1823 | |header_select_background |header_selected_cells_bg | |
| 1824 | |header_select_foreground |header_selected_cells_fg | |
| 1825 | |header_select_column_bg |header_selected_columns_bg | |
| 1826 | |header_select_column_fg |header_selected_columns_fg | |
| 1827 | |top_left_background |top_left_bg | |
| 1828 | |top_left_foreground |top_left_fg | |
| 1829 | |top_left_foreground_highlight |top_left_fg_highlight | |
| 1830 | |
| 1831 | ### Version 4.7.9 |
| 1832 | - Add option to use integer in `insert_row_positions()` and `insert_column_positions()` for how many columns to add |
| 1833 | - Fix error occurring in above functions when using python 3.6-3.7 due to itertools argument added in python 3.8 |
| 1834 | |
| 1835 | ### Version 4.7.8 |
| 1836 | - Fix show_horizontal and show_vertical grid |
| 1837 | |
| 1838 | ### Version 4.7.7 |
| 1839 | - Reduce column minimum size even further |
| 1840 | - Fix bug with highlights introduced in 4.7.6 |
| 1841 | |
| 1842 | ### Version 4.7.6 |
| 1843 | - Make `startup_select` also see the chosen cell |
| 1844 | - Deprecated functions `is_cell_selected()`, `is_row_selected()`, `is_column_selected()` use the same functions but without the `is_` in the name |
| 1845 | - Add functions `highlight_columns()`, `highlight_rows()`, make `highlight_cells()` argument `cells` update dictionary rather than overwrite |
| 1846 | - Remove double click resizing of index |
| 1847 | - Reduce minimum column width to 1 character |
| 1848 | |
| 1849 | ### Version 4.7.5 |
| 1850 | - Make arrowkey up and left not select column/row when at end, will add more shortcuts in a later update |
| 1851 | - Adjust width of auto-resized index |
| 1852 | - Hide header height/index width reset bars in top left if relevant options are disabled |
| 1853 | |
| 1854 | ### Version 4.7.4 |
| 1855 | - Add option `page_up_down_select_row` will select row when using page up/down, default is `True` |
| 1856 | - Overhaul text, grid and highlight canvas item management, no longer deletes and redraws, keeps items using `"hidden"` and reuses them to prevent canvas item number getting high quickly |
| 1857 | - Edit cell resizing now only uses displayed rows/columns to fit to cell text |
| 1858 | - Fix `see()` not being correct when using non-default `empty_vertical` and `empty_horizontal` |
| 1859 | - Fix flicker when row index auto resizes |
| 1860 | - Rename `auto_resize_numerical_row_index` to `auto_resize_default_row_index` |
| 1861 | - Add option `startup_focus` to give `Sheet()` main table focus on initialization |
| 1862 | - Add startup argument `startup_select` use like so: |
| 1863 | |
| 1864 | To create a cell selection box where cells 0,0 up to but not including 3,3 are selected: |
| 1865 | ```python |
| 1866 | startup_select = (0, 0, 3, 3, "cells"), |
| 1867 | ``` |
| 1868 | To create a row selection box where rows 0 up to but not including 3 are selected: |
| 1869 | ```python |
| 1870 | startup_select = (0, 3, "rows"), |
| 1871 | ``` |
| 1872 | To create a column selection box where columns 0 up to but not including 3 are selected: |
| 1873 | ```python |
| 1874 | startup_select = (0, 3, "columns"), |
| 1875 | ``` |
| 1876 | |
| 1877 | ### Version 4.7.3 |
| 1878 | - Make `"begin_edit_cell"` and `"end_edit_cell"` the only two edit cell bindings for use with `extra_bindings()` function (although `"edit_cell"` still works and is the equivalent of `"end_edit_cell"`) |
| 1879 | - Make it so if `"begin_edit_cell"` binding returns anything other than `None` the text in the cell edit window will be that return value otherwise it will be the relevant keypress |
| 1880 | - Prevent auto resize from firing two redraw commands in one go |
| 1881 | - Fixed issue where clicking outside of cell edit window and Sheet would return focus to the Sheet widget anyway |
| 1882 | - Fixed issues where row/column select highlight would be lower in canvas than cell selections |
| 1883 | - Hopefully simplified cell edit code a bit |
| 1884 | - Fix undo delete columns error for python versions < 3.8 |
| 1885 | |
| 1886 | ### Version 4.7.2 |
| 1887 | - Adjustment to dark theme colors |
| 1888 | - Clean up repetitions of code which had virtually no performance gain anyway |
| 1889 | |
| 1890 | ### Version 4.7.1 |
| 1891 | - Rename themes to "light blue", "light green", "dark blue", "dark green" |
| 1892 | - Clean up theme and color settings code |
| 1893 | |
| 1894 | ### Version 4.7.0 |
| 1895 | - Add green theme |
| 1896 | - Change font to calibri |
| 1897 | |
| 1898 | ### Version 4.6.9 |
| 1899 | - Minor fixes when using in-built ctrl functions |
| 1900 | |
| 1901 | ### Version 4.6.8 |
| 1902 | - Fix button-1-motion scrolling issues |
| 1903 | - Many minor improvements |
| 1904 | |
| 1905 | ### Version 4.6.7 |
| 1906 | - Some minor improvements |
| 1907 | - Fix minor display issue where sheet is empty and user clicks and drags upwards |
| 1908 | |
| 1909 | ### Version 4.6.6 |
| 1910 | - Added multiple new functions |
| 1911 | - Many minor improvements |
| 1912 | - Decreased size of area that resize cursors will show |
| 1913 | - Much improved dark theme |
| 1914 | - Resizing cells will now resize dropdown boxes, still have to add support for moving rows/columns |
| 1915 | |
| 1916 | ### Version 4.6.5 |
| 1917 | - Begin process of adding code to maintain multiple persistent dropdown boxes |
| 1918 | - Add function `delete_dropdown()` (use argument `"all"` for all dropdown boxes) |
| 1919 | - Add function `get_dropdowns()` to return locations and info for all boxes |
| 1920 | |
| 1921 | ### Version 4.6.4 |
| 1922 | - Fix `create_dropdown()` issues |
| 1923 | |
| 1924 | ### Version 4.6.3 |
| 1925 | - Fix github release |
| 1926 | |
| 1927 | ### Version 4.6.2 |
| 1928 | - Add startup and `set_options()` arguments: |
| 1929 | ``` |
| 1930 | empty_horizontal #empty space on the x axis in pixels |
| 1931 | empty_vertical #empty space on the y axis in pixels |
| 1932 | show_horizontal_grid #grid lines for main table |
| 1933 | show_vertical_grid #grid lines for main table |
| 1934 | ``` |
| 1935 | - Fix scrollbar issues if hiding index or header |
| 1936 | - Change `C` in startup arguments to `parent` for clarity |
| 1937 | - Add Listbox using `Sheet()` recipe to tests |
| 1938 | |
| 1939 | ### Version 4.6.1 |
| 1940 | - Clean up menus |
| 1941 | - Improve Dark theme |
| 1942 | |
| 1943 | ### Version 4.6.0 |
| 1944 | - Fix bug with column drag and drop and row index drag and drop |
| 1945 | |
| 1946 | ### Version 4.5.9 |
| 1947 | - Attempt made to remove cell editor window internal border, showing up on some platforms |
| 1948 | |
| 1949 | ### Version 4.5.8 |
| 1950 | - Add function `set_text_editor_value()` |
| 1951 | - Moved internal `begin_cell_edit` code slightly |
| 1952 | - Make Alt-Return on text editor only increase text window height if too small |
| 1953 | |
| 1954 | ### Version 4.5.7 |
| 1955 | - Fix download url in `setup.py` |
| 1956 | |
| 1957 | ### Version 4.5.6 |
| 1958 | - Add `"begin_edit_cell"` to function `extra_bindings()` |
| 1959 | |
| 1960 | ### Version 4.5.5 |
| 1961 | - Fix mouse motion binding in top left code not returning event object |
| 1962 | - Add some extra demonstration code to `test_tksheet.py` |
| 1963 | |
| 1964 | ### Version 4.5.4 |
| 1965 | - Fix typo in row index code leading to text not slicing properly with center alignment |
| 1966 | |
| 1967 | ### Version 4.5.3 |
| 1968 | - Improve text redraw slicing and positioning when cell size too small, especially for center alignments, very slight performance cost |
| 1969 | - If a number of lines has been set by using a string e.g. "1" for default row or header heights then the heights will be updated when changing fonts |
| 1970 | |
| 1971 | ### Version 4.5.2 |
| 1972 | - Fix resize not taking into account header if header is set to a row in the sheet |
| 1973 | - Fix bugs with `display_subset_of_columns()`, argument `set_col_positions` does nothing until reworked or removed |
| 1974 | |
| 1975 | ### Version 4.5.1 |
| 1976 | - Improve center alignment and auto resize widths issues |
| 1977 | |
| 1978 | ### Version 4.5.0 |
| 1979 | - Make `grid_propagate()` only occur internally if both `height` and `width` arguments are used, instead of just one |
| 1980 | - Fix bug in `get_sheet_data()` |
| 1981 | - Fix mismatch with scrollbars in `show` scrollbar options |
| 1982 | |
| 1983 | ### Version 4.4.9 |
| 1984 | - Add `header_height` argument to `set_options()` |
| 1985 | - Make `header_height` arguments accept integer representing pixels as well as string representing number of lines |
| 1986 | - Make top left header height resize bar use `header_height` and not minimum height |
| 1987 | |
| 1988 | ### Version 4.4.8 |
| 1989 | - Fix readme python versions |
| 1990 | |
| 1991 | ### Version 4.4.7 |
| 1992 | - Fix readme python versions |
| 1993 | |
| 1994 | ### Version 4.4.6 |
| 1995 | - Fix Python version required |
| 1996 | |
| 1997 | ### Version 4.4.5 |
| 1998 | - Fix typo in header code |
| 1999 | |
| 2000 | ### Version 4.4.4 |
| 2001 | - Fix some issues with header and index not showing when values aren't string |
| 2002 | - Fix row index width when starting with default index and then switching later |
| 2003 | - Fix very minor issue with header text limit |
| 2004 | |
| 2005 | ### Version 4.4.3 |
| 2006 | - Fix some issues with right click insert column/row |
| 2007 | - Fix error that occurs if row is too short on edit cell or not enough rows |
| 2008 | - Add function `recreate_all_selection_boxes()` |
| 2009 | - Add function `bind_text_editor_set()` |
| 2010 | - Add function `get_text_editor_value()` |
| 2011 | |
| 2012 | ### Version 4.4.2 |
| 2013 | - Removed internal `total_rows` and `total_cols` variables, replaced with functions for better maintainability but at the cost of performance in some cases |
| 2014 | - Added `fix_data` argument to function `total_columns()` to even up all row lengths in sheet data |
| 2015 | - Removed `total_rows` and `total_cols` arguments from functions `data_reference()` and `set_sheet_data()` |
| 2016 | - Fix issues with function `total_columns()` |
| 2017 | - Redo functions `insert_column()` and `insert_row()`, hopefully they work better |
| 2018 | - Add argument `equalize_data_row_lengths` to function `insert_column()` default is `True` |
| 2019 | - Add arguments `get_index` and `get_header` to function `get_sheet_data()` defaults are `False` |
| 2020 | - Change some argument names for functions involving inserting/setting rows and columns |
| 2021 | - `display_subset_of_columns()` now tries to maintain some existing column widths |
| 2022 | - Add functions `sheet_data_dimensions()`, `sheet_display_dimensions()`, `set_sheet_data_and_display_dimensions()` |
| 2023 | - Fix bug with undo edit cell if displaying subset of columns |
| 2024 | - Fix max undos issue |
| 2025 | - `display_subset_of_columns()` now resets undo storage |
| 2026 | |
| 2027 | ### Version 4.4.1 |
| 2028 | - Potential fix for functions `headers()` and `row_index()` when `show...if_not_sheet` arguments are utilized |
| 2029 | |
| 2030 | ### Version 4.4.0 |
| 2031 | - Add argument `reset_col_positions` to function `headers()` default is `False` |
| 2032 | - Add argument `reset_row_positions` to function `row_index()` default is `False` |
| 2033 | - Add argument `show_headers_if_not_sheet` to function `headers()` default is `True` |
| 2034 | - Add argument `show_index_if_not_sheet` to function `row_index()` default is `True` |
| 2035 | - Adjust most `center` text draw positions slightly, `center` alignment should now actually be center |
| 2036 | - Improve header resizing accuracy for set to text size |
| 2037 | |
| 2038 | ### Version 4.3.9 |
| 2039 | - Add `rc_insert_column` and `rc_insert_row` strings to extra bindings |
| 2040 | - Fix errors with insert column/row that occur if data is empty list |
| 2041 | - Fix resizing row index width/header height sometimes not working |
| 2042 | - Fix select all creating event when sheet is empty |
| 2043 | - Fix `create_current()` internal error if there are columns but no rows or rows but no columns |
| 2044 | - Add argument `get_cells_as_rows` to function `get_selected_rows()` to return selected cells as if they were selected rows |
| 2045 | - Add argument `get_cells_as_columns` to function `get_selected_columns()` to return selected cells as if they were selected columns |
| 2046 | - Add argument `return_tuple` to functions `get_selected_rows()`, `get_selected_columns()`, `get_selected_cells()` |
| 2047 | |
| 2048 | ### Version 4.3.8 |
| 2049 | - Add function `set_currently_selected()` |
| 2050 | - Make `get_selected_min_max()` return `(None, None, None, None)` if nothing selected to prevent error with tuple unpacking e.g `r1, c1, r2, c2 = get_selected...` |
| 2051 | - Fix potential issue with internal function `set_col_width()` if `only_set...` argument is `True` |
| 2052 | - Fix typo in function `create_selection_box()` |
| 2053 | - Add `right_click_select` and `rc_select` to function `enable_bindings()`, is enabled as well if other right click functionality is enabled |
| 2054 | - Add `"all_select_events"` as option in function `extra_bindings()` to quickly bind all selection events in the table, including deselection to a single function |
| 2055 | |
| 2056 | ### Version 4.3.7 |
| 2057 | - Make row height resize to text include row index values |
| 2058 | - Fix bug with function `.set_all_cell_sizes_to_text()` where empty cells would result in minimum sizes |
| 2059 | - Fix typo error in function `.set_all_cell_sizes_to_text()` |
| 2060 | |
| 2061 | ### Version 4.3.6 |
| 2062 | - Add function `get_currently_selected()` |
| 2063 | - Add functions `self.sheet_demo.set_all_column_widths()`, `self.sheet_demo.set_all_row_heights()`, `self.sheet_demo.set_all_cell_sizes_to_text()` |
| 2064 | - Add argument `set_all_heights_and_widths` to startup, use `True` or `False` |
| 2065 | - Improve performance of all resizing functions |
| 2066 | - Make resizing detect text dimensions for full row/column, not just what is displayed |
| 2067 | |
| 2068 | ### Version 4.3.5 |
| 2069 | - Fix bug with `row_index()` function |
| 2070 | - Fix `headers` set to `int` at start up not working if `headers` is `0` |
| 2071 | |
| 2072 | ### Version 4.3.4 |
| 2073 | - Fix bug if `row_drag_and_drop_perform` or `column_drag_and_drop_perform` is False |
| 2074 | - Fix display issue with undo drag and drop rows/columns |
| 2075 | - Add `"unbind_all"` as possible argument for function `extra_bindings()` |
| 2076 | - Add `"enable_all"` as possible argument for function `enable_bindings()` |
| 2077 | - Add `"disable_all"` as possible argument for function `disable_bindings()` |
| 2078 | |
| 2079 | ### Version 4.3.3 |
| 2080 | - Add function `set_sheet_data()` use argument `verify = False` to prevent verification of types |
| 2081 | - Add startup arguments `row_drag_and_drop_perform` and `column_drag_and_drop_perform` and add to `set_options()` |
| 2082 | - Fix double selection with drag and drop rows |
| 2083 | - Add `data` argument to startup arguments |
| 2084 | |
| 2085 | ### Version 4.3.2 |
| 2086 | - Fix some highlighted cells not being reset when displaying subset of columns |
| 2087 | |
| 2088 | ### Version 4.3.1 |
| 2089 | - Fix highlighted cells not blending with drag selection |
| 2090 | |
| 2091 | ### Version 4.3.0 |
| 2092 | - Fix basic bindings bug |
| 2093 | |
| 2094 | ### Version 4.2.9 |
| 2095 | - Fix typo in popup menu |
| 2096 | |
| 2097 | ### Version 4.2.8 |
| 2098 | - Improve performance of drag selection |
| 2099 | - Improve `row_index()` and `headers()` functions, add examples |
| 2100 | - Add `"single_select"` and `"toggle_select"` to `enable_bindings()` |
| 2101 | |
| 2102 | ### Version 4.2.7 |
| 2103 | - Fix bug with undo deletion |
| 2104 | |
| 2105 | ### Version 4.2.6 |
| 2106 | - Fix bug with insert row |
| 2107 | - Deprecate `change_color()` use `set_options()` instead |
| 2108 | - Fix display bug where resizing row index width or header height would result in small selection boxes |
| 2109 | - Rework popup menus, use `enable_bindings()` with `"right_click_popup_menu"` to make them work again |
| 2110 | - Allow additional binding of right click to a function alongside `Sheet()` popup menus |
| 2111 | - Add function `get_sheet_data()` |
| 2112 | - Add `x_scrollbar` and `y_scrollbar` to `show()`, `hide()` and `Sheet()` startup |
| 2113 | - Removed `show` argument from startup, added `show_table`, default is `True` |
| 2114 | - Add option to automatically resize row index width when user has not set new indexes, default is `True` |
| 2115 | - Rework the top left rectangle and add select all on left click if drag selection is enabled |
| 2116 | - Change appearance of popup menus |
| 2117 | - Change popup menu color for dark theme |
| 2118 | - Fix wrong popup menu on right click with selected rows/columns |
| 2119 | |
| 2120 | ### Version 4.2.5 |
| 2121 | - Fix bug where highlighted background or foreground might not be in the correct column when displaying a subset of columns |
| 2122 | - Change colors of selected rows and columns |
| 2123 | - Add color options: |
| 2124 | ```python |
| 2125 | header_select_column_bg |
| 2126 | header_select_column_fg |
| 2127 | row_index_select_row_bg |
| 2128 | row_index_select_row_fg |
| 2129 | selected_rows_border_color |
| 2130 | selected_rows_background |
| 2131 | selected_rows_foreground |
| 2132 | selected_columns_border_color |
| 2133 | selected_columns_background |
| 2134 | selected_columns_foreground |
| 2135 | ``` |
| 2136 | - Fix various issues with displaying correct colors in certain circumstances |
| 2137 | - Change dark theme colors slightly |
| 2138 | |
| 2139 | ### Version 4.2.4 |
| 2140 | - Fix PyPi release version |
| 2141 | |
| 2142 | ### Version 4.2.3 |
| 2143 | - Fix bug with right click delete columns and undo |
| 2144 | - Right click in main table when over selected columns/rows now brings up column/row menu |
| 2145 | - Add internal cut, copy, paste, delete and undo to usable `Sheet()` functions |
| 2146 | |
| 2147 | ### Version 4.2.2 |
| 2148 | - Fix bug with center alignment and display subset of columns |
| 2149 | - Fix bug with highlighted cells showing as selected when they're not |
| 2150 | |
| 2151 | ### Version 4.2.1 |
| 2152 | - Fix resize row height bug |
| 2153 | - Fix deselect bug |
| 2154 | - Improve and fix many bugs with toggle select mode |
| 2155 | |
| 2156 | ### Version 4.2.0 |
| 2157 | - Fix extra selection box drawing in certain circumstances |
| 2158 | - Fix bug in Paste |
| 2159 | - Remove some unnessecary code |
| 2160 | |
| 2161 | ### Version 4.1.9 |
| 2162 | - Fix bugs introduced with 4.1.8 |
| 2163 | |
| 2164 | ### Version 4.1.8 |
| 2165 | - Overhaul internal selections variables and workings |
| 2166 | - Replace functions `get_min`/`get_max` `selected` `x` and `y` with `get_selected_min_max()` |
| 2167 | - Fix bugs with functions `total_columns()` and `total_rows()` and set default argument `mod_data` to `True` |
| 2168 | - Change drag and drop so that it modifies data with or without an extra binding set |
| 2169 | - Add functions `set_cell_data()`, `set_row_data()`, `set_column_data()` |
| 2170 | - Remove bloat in `get_highlighted_cells()` |
| 2171 | - Prepare many functions for implementation of control + click |
| 2172 | |
| 2173 | ### Version 4.1.7 |
| 2174 | - Fix typo in `get_cell_data()` |
| 2175 | - Add function `height_and_width()` |
| 2176 | - Fix height and width in widget startup |
| 2177 | |
| 2178 | ### Version 4.1.6 |
| 2179 | - Fix cell selection after editing cell ending with mouse click |
| 2180 | |
| 2181 | ### Version 4.1.5 |
| 2182 | - Separate drag selection `extra_bindings()` into cells, rows and columns |
| 2183 | - Add shift select and separate it from left click and right click in `extra_bindings()` |
| 2184 | - Changed and hopefully made better all responses to `extra_bindings()` functions |
| 2185 | - Added selection box to selected rows/columns |
| 2186 | |
| 2187 | ### Version 4.1.4 |
| 2188 | - Fix bugs with drag and drop rows/columns |
| 2189 | - Clean up drag and drop code |
| 2190 | |
| 2191 | ### Version 4.1.3 |
| 2192 | - Improve speed of `get_selected_cells()` |
| 2193 | - Add function `get_selection_boxes()` |
| 2194 | - Remove more unnessecary loops |
| 2195 | - Added argument `show_selected_cells_border` to start up |
| 2196 | - Added function `set_options()` |
| 2197 | - Added undo to drag and drop rows/columns |
| 2198 | - Fixed bug with drag and drop columns when displaying a subset of columns |
| 2199 | |
| 2200 | ### Version 4.1.2 |
| 2201 | - Move text up slightly inside cells |
| 2202 | - Fix selected cells border not showing sometimes |
| 2203 | - Replace some unnessecary loops |
| 2204 | |
| 2205 | ### Version 4.1.1 |
| 2206 | - Improve select all speed by 20x |
| 2207 | - Shrink cell size slightly |
| 2208 | - Added options to hide row index and header at start up |
| 2209 | - Change looks of ctrl x border |
| 2210 | - Fix minor issue where two borders would draw in the same place |
| 2211 | |
| 2212 | ### Version 4.1.0 |
| 2213 | - Added undo to insert row/column and delete rows/columns |
| 2214 | - Changed the default looks |
| 2215 | - Deprecated function `select()` and added `toggle_select_cell()`, `toggle_select_row()` and `toggle_select_column()` |
| 2216 | - Added functions `is_cell_selected()`, `is_row_selected()`, `is_column_selected()`, |
| 2217 | `get_cell_data()`, `get_row_data()` and `get_column_data()` |
| 2218 | - Changed behavior of `deselect()` function slightly to now accept a cell from arguments `row = ` and `column = ` as well as `cell = ` |
| 2219 | - Added cell selection borders and start up option `selected_cells_border_color` as well as to the function `change_color()` |
| 2220 | - Removed the main table variable `selected_cells` and reduced memory use |
| 2221 | - Fixed a bug with editing a cell while displaying a subset of columns |
| 2222 | - Renamed `RowIndexes` class to `RowIndex` |
| 2223 | - Added separate test file |
| 2224 | |
| 2225 | ### Version 3.1 - 4.0.1 |
| 2226 | - Fixed import errors |
| 2227 | |
| 2228 | ### Version 3.1: |
| 2229 | - Added `frame_background` parameter to `Sheet()` startup and `change_color()` function |
| 2230 | - Added more keys to edit cell binding |
| 2231 | - Separated `edit_bindings` for the function `enable_bindings()` into the following: |
| 2232 | - `"cut"` |
| 2233 | - `"copy"` |
| 2234 | - `"paste"` |
| 2235 | - `"delete"` |
| 2236 | - `"edit_cell"` |
| 2237 | - `"undo"` |
| 2238 | Note that the argument `"edit_bindings"` still works |
| 2239 | - Separated the tksheet classes and variables into different files |
| 2240 | |
| 2241 | ### Version 3.0: |
| 2242 | - Fixed bug with function `display_subset_of_columns()` |
| 2243 | - Fixed issues with row heights and column widths adjusting too small |
| 2244 | - Improved dark theme |
| 2245 | - Added top left rectangle to hide |
| 2246 | - Added insert and delete row and column to right click menu |
| 2247 | - Some general code improvements |
| 2248 | |
| 2249 | ### Version 2.9: |
| 2250 | - The function `display_columns()` has been changed to `display_subset_of_columns()` and some paramaters have been changed |
| 2251 | - The variables `total_rows` and `total_cols` have been reworked |
| 2252 | - Sheets can now be created with the parameters `total_rows` and `total_columns` to create blank sheets of certain dimensions |
| 2253 | - The functions `total_rows()` and `total_columns()` have been added to set or get the dimensions of the sheet |
| 2254 | - `"edit_bindings"` has been added as an input for the function `enable_bindings()` |
| 2255 | - `show()` and `hide()` have been reworked to allow hiding of the header and/or row index |
| 2256 | |
| 2257 | ### Version 2.6 - 2.9: |
| 2258 | - delete_row() is now delete_row_position() |
| 2259 | - insert_row() is now insert_row_position() |
| 2260 | - move_row() is now move_row_position() |
| 2261 | - delete_column() is now delete_column_position() |
| 2262 | - insert_column() is now insert_column_position() |
| 2263 | - move_column() is now move_column_position() |
| 2264 | - The original functions have been changed to behave as they read and actually modify the table data |