fix(editor): preserve sql tab cursor state
This commit is contained in:
1 parent
80531c8765
commit
426b7911bc
6 files changed
+78
-2
No files matched your search
@@ -1128,6 +1128,10 @@ onUnmounted(() => {
|
||||
(tabId: string, viewport: { scrollTop: number; scrollLeft: number }) =>
|
||||
queryStore.updateEditorViewport(tabId, viewport)
|
||||
"
|
||||
@editor-selection-state-change="
|
||||
(tabId: string, selection: { anchor: number; head: number }) =>
|
||||
queryStore.updateEditorSelection(tabId, selection)
|
||||
"
|
||||
@format-error="toast(t('toolbar.formatSqlFailed'))"
|
||||
@save-sql="void openSaveSqlDialog()"
|
||||
@reload="
|
||||
|
||||
Reference in new issue
Block a user