Closed fmerchan65 closed 2 months ago
I'm not sure I understand sorry, questions:
Is the binding:
Currently:
I am trying to follow the behavior of other spreadsheets and I'm not sure there's any other things Del should do?
Sorry for the initial explanation. Yes, I mean Del key binding. Could the behavior of this binding be changed in an open cell editor and it would run like backspace key ?. I mean, delete the character just before where the cursor is.
Thanks for the reply,
As I went about making the change I realized that the tkinter text widget deletes the forward character when there is no selected text
So when there are no selections it currently has the default behavior of:
I have checked the behavior of Libre office and it seems the same there as well
I will add an option to override the behavior
You are right. It's ok the Del key current behavior. Thanks a lot !
Hey, in case you're interested I added the following option in 7.2.15
:
In your sheet initialization you can use the parameter:
editor_del_key
With the following arguments:
e.g.
my_sheet = Sheet(parent, editor_del_key="backward")
You can also use the keyword argument with the set_options()
function
The users of my application use the numeric keypad a lot and to delete the contents of a cell they use "Supr"/"Del" key on the numeric keypad more than the "Backspace" key. After several hours of research and testing I have not found the way to do it in a tksheet table.