mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 09:06:03 +00:00
Fix lint
This commit is contained in:
@@ -14,7 +14,7 @@ export class SearchPanelComponent {
|
|||||||
notFound = false
|
notFound = false
|
||||||
options: SearchOptions = {
|
options: SearchOptions = {
|
||||||
incremental: true,
|
incremental: true,
|
||||||
...this.config.store.terminal.searchOptions
|
...this.config.store.terminal.searchOptions,
|
||||||
}
|
}
|
||||||
|
|
||||||
@Output() close = new EventEmitter()
|
@Output() close = new EventEmitter()
|
||||||
@@ -28,7 +28,7 @@ export class SearchPanelComponent {
|
|||||||
this.notFound = false
|
this.notFound = false
|
||||||
this.findPrevious(true)
|
this.findPrevious(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
findNext (incremental = false): void {
|
findNext (incremental = false): void {
|
||||||
if (!this.query) {
|
if (!this.query) {
|
||||||
return
|
return
|
||||||
@@ -48,12 +48,12 @@ export class SearchPanelComponent {
|
|||||||
this.toastr.error('Not found')
|
this.toastr.error('Not found')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
saveSearchOptions (): void {
|
saveSearchOptions (): void {
|
||||||
this.config.store.terminal.searchOptions.regex = this.options.regex;
|
this.config.store.terminal.searchOptions.regex = this.options.regex
|
||||||
this.config.store.terminal.searchOptions.caseSensitive = this.options.caseSensitive;
|
this.config.store.terminal.searchOptions.caseSensitive = this.options.caseSensitive
|
||||||
this.config.store.terminal.searchOptions.wholeWord = this.options.wholeWord;
|
this.config.store.terminal.searchOptions.wholeWord = this.options.wholeWord
|
||||||
|
|
||||||
this.config.save();
|
this.config.save()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -69,8 +69,8 @@ export class TerminalConfigProvider extends ConfigProvider {
|
|||||||
searchOptions: {
|
searchOptions: {
|
||||||
regex: false,
|
regex: false,
|
||||||
wholeWord: false,
|
wholeWord: false,
|
||||||
caseSensitive: false
|
caseSensitive: false,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user