Modify

Opened 2 years ago

Closed 2 months ago

Last modified 2 months ago

#22948 closed enhancement (fixed)

[Patch] Add text box shortcut: ctrl+shift+z to redo

Reported by: tguen Owned by: team
Priority: normal Milestone: 25.02
Component: Core Version:
Keywords: Cc: tguen

Description

Many (most?) programs use ctrl+shift+z to redo rather than ctrl+y. The redo action for the map can be changed in the settings menu, but this doesn't affect text boxes like the tag editor dialog. This patch adds a second shortcut for the redo action in text boxes.

Attachments (2)

0001-add-textbox-shortcut-ctrl-shift-z-to-redo.patch (2.3 KB ) - added by tguen 2 years ago.
patch
22948.patch (2.8 KB ) - added by taylor.smock 21 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 by tguen, 2 years ago

Cc: tguen added

comment:2 by taylor.smock, 21 months ago

As a stupid question, why didn't you reuse the shortcuts for system:undo and system:redo?

I'll upload a patch of what I am thinking about.

by taylor.smock, 21 months ago

Attachment: 22948.patch added

comment:3 by tguen, 2 months ago

I'd forgotten about this report. I made it the way I did because I'd never read the code before and it was the easiest solution. Yours is clearly better and I hope to see it merged.

comment:4 by stoecker, 2 months ago

Resolution: fixed
Status: newclosed

In 19324/josm:

fix #22948 - use redo/undo shortcuts in text boxes, patch by Taylor

comment:5 by stoecker, 2 months ago

Milestone: 25.02

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.