show find in console
This commit is contained in:
parent
cb4b26e03f
commit
be37c42d28
11 changed files with 45 additions and 9 deletions
|
@ -7,6 +7,12 @@ const showCommand = (text) => {
|
|||
};
|
||||
};
|
||||
|
||||
const showFind = () => {
|
||||
return {
|
||||
type: actions.CONSOLE_SHOW_FIND,
|
||||
};
|
||||
};
|
||||
|
||||
const showError = (text) => {
|
||||
return {
|
||||
type: actions.CONSOLE_SHOW_ERROR,
|
||||
|
@ -47,6 +53,6 @@ const completionPrev = () => {
|
|||
};
|
||||
|
||||
export {
|
||||
showCommand, showError, showInfo, hideCommand,
|
||||
showCommand, showFind, showError, showInfo, hideCommand,
|
||||
setCompletions, completionNext, completionPrev
|
||||
};
|
||||
|
|
|
@ -7,4 +7,5 @@ export default {
|
|||
CONSOLE_SET_COMPLETIONS: 'console.set.completions',
|
||||
CONSOLE_COMPLETION_NEXT: 'console.completion.next',
|
||||
CONSOLE_COMPLETION_PREV: 'console.completion.prev',
|
||||
CONSOLE_SHOW_FIND: 'console.show.find',
|
||||
};
|
||||
|
|
Reference in a new issue