show find in console

This commit is contained in:
Shin'ya Ueoka 2017-11-06 20:13:15 +09:00
parent cb4b26e03f
commit be37c42d28
11 changed files with 45 additions and 9 deletions

View file

@ -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
};

View file

@ -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',
};