mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fixes cursor position during ctrl+z
This commit is contained in:
@@ -108,7 +108,8 @@ export abstract class BaseSqlDataSource implements ISqlDataSource {
|
||||
if (source === SOURCE_HISTORY) {
|
||||
return;
|
||||
}
|
||||
this.history.add(script, this.cursor);
|
||||
|
||||
this.history.add(script, { anchor: this.cursor.anchor + 1, head: this.cursor.head + 1 });
|
||||
});
|
||||
|
||||
this.history.onNavigate.addHandler(
|
||||
|
||||
Reference in New Issue
Block a user