CTRL+Y Redo

mrforsythexeter's profile image mrforsythexeter posted 14 years ago in Feature discussion Permalink
I notice CTRL+Z works for undo in the Query, even though your shortcut is ALT+BckSpace. Is CTRL+Y (redo) disabled, or just not easy to turn on.
[expired user #4993]'s profile image [expired user #4993] posted 14 years ago Permalink
+1

And what's the intended behavior of CTRL + W ?
Usually it closes the tab, in Heidi just clears the tab.
ansgar's profile image ansgar posted 14 years ago Permalink
Ctrl+W clears a tab. If it's not the first, static tab, the tab is also closed.

Shortcuts can be customized in Tools > Preferences > Shortcuts.
[expired user #4993]'s profile image [expired user #4993] posted 14 years ago Permalink
well... then in 6.0.0.3621 there is a bug... no tabs are closed, only flushed

if someone can confirm this i will submit a bug report
ansgar's profile image ansgar posted 14 years ago Permalink
Oh sorry, I mixed it up - Ctrl+W never closes any tab. Double click on a tab does that. This is intentionally, not some bug.
[expired user #4993]'s profile image [expired user #4993] posted 14 years ago Permalink
a lot of applications close the tab on Ctrl+W ... maybe a poll on that behavior ? :)

And i found the shortcut for 'undo' but nothing on 'redo'
[expired user #6438]'s profile image [expired user #6438] posted 11 years ago Permalink
I'm also missing CTRL - Y for redo.
In most programs this redoes the last action and in HeidiSQL it seems to delete a single line.
ansgar's profile image ansgar posted 11 years ago Permalink
You can watch out and edit shortcuts for HeidiSQL's query editors, in Tools > Preferences > Shortcuts > "SQL editing"
[expired user #6438]'s profile image [expired user #6438] posted 11 years ago Permalink
Thanks a lot!
[expired user #8125]'s profile image [expired user #8125] posted 10 years ago Permalink
I get an error saying that CTRL+Y is already used, but it isn't! Why are the shortcuts SO messed up?
[expired user #8433]'s profile image [expired user #8433] posted 10 years ago Permalink
I could set "redo" to CTRL+Y but I did not get a message that this shortcut is already used for "delete line". So CTRL+Y still deleted the line and didn't redo. When I change "delete line" to another shortcut of course it works but at the moment the check if shortcut is already set doesn't seem to work.
[expired user #6438]'s profile image [expired user #6438] posted 10 years ago Permalink


It still wasn't able to change the shortcuts.
I just noticed that 'Redo' is twice in the list with shortcuts.
Could that be the issue?
[expired user #8285]'s profile image [expired user #8285] posted 10 years ago Permalink
Hi,

I am facing the same problem trying to customize "Upper Case Block" with Ctrl+U shortcut and "Lower Case Block" with Ctrl+Shift+U shortcut.
I get a message saying that the shortcut SynEdit "Ctrl+U" to ecUpperCaseBlock is not possible because shortcut already exists.
I looked at every shortcut and Ctrl+U is not used.

What can I do to customize theses shortcuts ?

Regards,
Cedric
humbads's profile image humbads posted 8 years ago Permalink

Here is how I got Ctrl+Y keyboard shortcut for HeidiSQL 9.3.0.4984 mapped to Undo.

  1. Go to Tools > Preferences > Shortcuts > SQL Editing
  2. Select the first "Undo" command and click in the "Shortcut" box. Press "Ctrl" twice, and it will change to "(None)".
  3. Do the same with the first "Redo" command.
  4. Go to the second "Undo" command and set the Shortcut to "Ctrl+Z"
  5. Go to the second "Redo" command set the Shortcut to "Ctrl+Y"
  6. Click "Apply" button

You should not see any errors in the message log, like "Could not apply SynEdit keystroke shortcut "Ctrl+Y" (or secondary: "") to ecRedo. Shortcut already exists.".

Go to a query window and test.

Enjoy! Shailesh

humbads's profile image humbads posted 8 years ago Permalink

BTW, Ctrl+Y by default is mapped to "Delete Line"! Map that to "Ctrl+Shift+Del" instead, just like my favorite text editor, Textpad.

[expired user #11652]'s profile image [expired user #11652] posted 6 years ago Permalink

CTRL + Y

Or

CTRL + SHIFT + Z

Both works same but it all depend on the application or the software which shortcut work there.

Please login to leave a reply, or register at first.