We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5683ead commit ec2c1ebCopy full SHA for ec2c1eb
src/renderer/components/editor/TheEditor.vue
@@ -134,6 +134,11 @@ const init = async () => {
134
editor.selection.on('changeCursor', () => {
135
getCursorPosition()
136
})
137
+ editor.on('focus', () => {
138
+ if (snippetStore.searchQuery?.length) {
139
+ snippetStore.searchQuery = undefined
140
+ }
141
+ })
142
143
// Фиксированный размер для колонки чисел строк
144
// @ts-ignore
0 commit comments