mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-03 01:18:32 +00:00
Compare commits
3 Commits
main
...
copilot/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fda0fc714 | ||
|
|
c4a2d52cc9 | ||
|
|
4e5846f3bd |
@@ -129,7 +129,14 @@ export default class CodeEditor extends React.Component {
|
||||
if (this.state.searchBarVisible) {
|
||||
this.setState({ searchBarVisible: false });
|
||||
}
|
||||
}
|
||||
},
|
||||
// Pass through tab navigation shortcuts to global handlers
|
||||
'Cmd-W': () => CodeMirror.Pass,
|
||||
'Ctrl-W': () => CodeMirror.Pass,
|
||||
'Cmd-PageUp': () => CodeMirror.Pass,
|
||||
'Ctrl-PageUp': () => CodeMirror.Pass,
|
||||
'Cmd-PageDown': () => CodeMirror.Pass,
|
||||
'Ctrl-PageDown': () => CodeMirror.Pass
|
||||
},
|
||||
foldOptions: {
|
||||
widget: (from, to) => {
|
||||
|
||||
@@ -62,7 +62,14 @@ class MultiLineEditor extends Component {
|
||||
'Ctrl-F': () => {},
|
||||
// Tabbing disabled to make tabindex work
|
||||
Tab: false,
|
||||
'Shift-Tab': false
|
||||
'Shift-Tab': false,
|
||||
// Pass through tab navigation shortcuts to global handlers
|
||||
'Cmd-W': () => CodeMirror.Pass,
|
||||
'Ctrl-W': () => CodeMirror.Pass,
|
||||
'Cmd-PageUp': () => CodeMirror.Pass,
|
||||
'Ctrl-PageUp': () => CodeMirror.Pass,
|
||||
'Cmd-PageDown': () => CodeMirror.Pass,
|
||||
'Ctrl-PageDown': () => CodeMirror.Pass
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -128,7 +128,14 @@ export default class QueryEditor extends React.Component {
|
||||
}
|
||||
},
|
||||
'Cmd-F': 'findPersistent',
|
||||
'Ctrl-F': 'findPersistent'
|
||||
'Ctrl-F': 'findPersistent',
|
||||
// Pass through tab navigation shortcuts to global handlers
|
||||
'Cmd-W': () => CodeMirror.Pass,
|
||||
'Ctrl-W': () => CodeMirror.Pass,
|
||||
'Cmd-PageUp': () => CodeMirror.Pass,
|
||||
'Ctrl-PageUp': () => CodeMirror.Pass,
|
||||
'Cmd-PageDown': () => CodeMirror.Pass,
|
||||
'Ctrl-PageDown': () => CodeMirror.Pass
|
||||
}
|
||||
}));
|
||||
if (editor) {
|
||||
|
||||
@@ -71,7 +71,14 @@ class SingleLineEditor extends Component {
|
||||
'Ctrl-F': noopHandler,
|
||||
// Tabbing disabled to make tabindex work
|
||||
Tab: false,
|
||||
'Shift-Tab': false
|
||||
'Shift-Tab': false,
|
||||
// Pass through tab navigation shortcuts to global handlers
|
||||
'Cmd-W': () => CodeMirror.Pass,
|
||||
'Ctrl-W': () => CodeMirror.Pass,
|
||||
'Cmd-PageUp': () => CodeMirror.Pass,
|
||||
'Ctrl-PageUp': () => CodeMirror.Pass,
|
||||
'Cmd-PageDown': () => CodeMirror.Pass,
|
||||
'Ctrl-PageDown': () => CodeMirror.Pass
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user