show message on find

This commit is contained in:
Shin'ya Ueoka 2018-03-06 21:37:12 +09:00
parent 72bf3cc2bd
commit 93bd0bc54f
4 changed files with 28 additions and 6 deletions

View file

@ -38,6 +38,10 @@ export default class FindComponent {
window.document,
'Pattern not found: ' + state.keyword);
}
consoleFrames.postInfo(
window.document,
'Pattern found: ' + state.keyword,
);
return this.store.dispatch(findActions.next(state.keyword, false));
}
@ -49,6 +53,10 @@ export default class FindComponent {
window.document,
'Pattern not found: ' + state.keyword);
}
consoleFrames.postInfo(
window.document,
'Pattern found: ' + state.keyword,
);
return this.store.dispatch(findActions.prev(state.keyword, false));
}
}