You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Removed:
- Removed settings for cut_contents, copy_contents and the new plain equivalent added in `7.5.13`. These settings now use the same as the usual cut and copy settings.
#### Changed:
- Mac OS now binds both mouse button 2 and 3 for right click [#2](#2).
- Changed copy text binding to `Ctrl + Ins`.
- Changed copy text icon to differentiate from the normal copy.
#### Added:
- Right click binding setting to modify which buttons/keys are used for right click.
- Setting for changing the to clipboard csv writer dialect.
#### Fixed:
- Tab characters causing cell text overflow.
- Don't show tooltip when resizing is enabled and mouse is over grid lines in index or header.
- More right click menu filtering based on selections.
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,20 @@
1
1
### Version 7.5.14
2
-
####
2
+
#### Removed:
3
+
- Removed settings for cut_contents, copy_contents and the new plain equivalent added in `7.5.13`. These settings now use the same as the usual cut and copy settings.
4
+
5
+
#### Changed:
6
+
- Mac OS now binds both mouse button 2 and 3 for right click [#2](https://github.com/ragardner/tksheet/issues/2).
7
+
- Changed copy text binding to `Ctrl + Ins`.
8
+
- Changed copy text icon to differentiate from the normal copy.
9
+
10
+
#### Added:
11
+
- Right click binding setting to modify which buttons/keys are used for right click.
12
+
- Setting for changing the to clipboard csv writer dialect.
13
+
14
+
#### Fixed:
15
+
- Tab characters causing cell text overflow.
16
+
- Don't show tooltip when resizing is enabled and mouse is over grid lines in index or header.
17
+
- More right click menu filtering based on selections.
<li>Word wrap - Tabs and multiple spaces are rendered as a single space.</li>
707
+
<li>Mac OS has both <code><2></code> and <code><3></code> bound for right click.</li>
706
708
<li>When using <code>edit_validation()</code> to validate cell edits and pasting into the sheet:<ul>
707
709
<li>If the sheets rows are expanded then the row numbers under the key <code>row</code> and <code>loc</code> are data indexes whereas the column numbers are displayed indexes.</li>
708
710
<li>If the sheets columns are expanded then the column numbers under the key <code>column</code> and <code>loc</code> are data indexes whereas the row numbers are displayed indexes.</li>
709
711
<li>This is only relevant when there are hidden rows or columns and you're using <code>edit_validation()</code> and you're using the event data keys <code>row</code>, <code>column</code> or <code>loc</code> in your bound <code>edit_validation()</code> function and you're using paste and the sheet can be expanded by paste.</li>
710
712
</ul>
711
713
</li>
712
714
<li>There may be some issues with toggle select mode and deselection.</li>
<p>You can change the bindings for tksheets in-built functionality such as cut, copy, paste by using the <ahref="#sheet-options"><code>set_options()</code> function</a> with any the following keyword arguments:</p>
Copy file name to clipboardExpand all lines: docs/DOCUMENTATION.md
+37-34Lines changed: 37 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,13 @@
8
8
9
9
### **Known Issues**
10
10
11
-
1. When using `edit_validation()` to validate cell edits and pasting into the sheet:
11
+
- Word wrap - Tabs and multiple spaces are rendered as a single space.
12
+
- Mac OS has both `<2>` and `<3>` bound for right click.
13
+
- When using `edit_validation()` to validate cell edits and pasting into the sheet:
12
14
- If the sheets rows are expanded then the row numbers under the key `row` and `loc` are data indexes whereas the column numbers are displayed indexes.
13
15
- If the sheets columns are expanded then the column numbers under the key `column` and `loc` are data indexes whereas the row numbers are displayed indexes.
14
16
- This is only relevant when there are hidden rows or columns and you're using `edit_validation()` and you're using the event data keys `row`, `column` or `loc` in your bound `edit_validation()` function and you're using paste and the sheet can be expanded by paste.
15
-
2. There may be some issues with toggle select mode and deselection.
17
+
- There may be some issues with toggle select mode and deselection.
- To remove the `Copy plain` right click menu option when copy is enabled you can overwrite it, e.g.
2039
+
2040
+
```python
2041
+
from tksheet import (
2042
+
ICON_COPY,
2043
+
Sheet,
2044
+
ctrl_key,
2045
+
)
2046
+
2047
+
# ...
2048
+
2049
+
self.sheet.set_options(
2050
+
copy_plain_label="Copy",
2051
+
copy_plain_accelerator="Ctrl+C",
2052
+
copy_plain_image=tk.PhotoImage(data=ICON_COPY),
2053
+
copy_plain_compound="left",
2054
+
copy_plain_bindings=[
2055
+
f"<{ctrl_key}-c>",
2056
+
f"<{ctrl_key}-C>",
2057
+
],
2058
+
)
2059
+
```
2060
+
2058
2061
#### **Changing key bindings**
2059
2062
2060
2063
You can change the bindings for tksheets in-built functionality such as cut, copy, paste by using the [`set_options()` function](#sheet-options) with any the following keyword arguments:
0 commit comments