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 7642eec commit 0eb13cdCopy full SHA for 0eb13cd
plugins/workspace-search/src/workspace_search.ts
@@ -362,7 +362,11 @@ export class WorkspaceSearch implements Blockly.IPositionable {
362
this.close();
363
} else if (e.key === 'Enter') {
364
if (this.searchOnInput) {
365
- this.next();
+ if (e.shiftKey) {
366
+ this.previous();
367
+ } else {
368
+ this.next();
369
+ }
370
} else {
371
if (!this.inputElement) return;
372
const inputValue = this.inputElement.value.trim();
@@ -440,6 +444,7 @@ export class WorkspaceSearch implements Blockly.IPositionable {
440
444
open() {
441
445
this.setVisible(true);
442
446
this.inputElement?.focus();
447
+ this.inputElement?.select();
443
448
if (this.searchText) {
449
this.searchAndHighlight(this.searchText);
450
}
0 commit comments