-
-
Notifications
You must be signed in to change notification settings - Fork 563
undo is broken #541
Description
Steps to reproduce this issue
Example One
Step 1
Write the following SQL:
SELECT 1;
Step 2:
Press "ctrl+z".
Example Two:
Step 1:
Write the following SQL:
SELECT 1;
SELECT 2;
SELECT 3:
Step 2:
Run
Step 3:
Press "ctrl+z" to undo.
Write a couple different lines of SQL, then press
Current behavior
Example One:
Undo removes "SELECT" and ";" while leaving the "1":
SELECT 1;
undo
1
Example Two:
Undo only behaves on the last sql statement. So I have 3 queries in the window, but only the last one is acted on - however it behaves exactly the same as Example One:
SELECT 1;
SELECT 2;
SELECT 3;
undo
SELECT 1;
SELECT 2;
3
Expected behavior
In both Examples:
Undo should remove the last character first, and continue until the Text Field is empty.
Possible solution
Environment
-
HeidiSQL version:
10.1.0.5464 -
Database system and version:
5.5.61 -
Operating system:
Windows 10