Skip to content
Merged
Prev Previous commit
Next Next commit
fix(editor): move cursor to start
  • Loading branch information
antonreshetov committed Apr 9, 2022
commit b8eecee627d1df0d364f1fa72f7b4624347c4a0e
3 changes: 0 additions & 3 deletions src/renderer/components/editor/TheEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ const setValue = () => {

if (snippetStore.searchQuery) {
findAll(snippetStore.searchQuery)
} else {
editor.moveCursorTo(0, 0)
editor.clearSelection()
}
}

Expand Down