cm-search-replace
v1.0.1
Published
Implements the search and replace function of CodeMirror
Downloads
280
Readme
cm-search-replace
Description
Implements the search and replace function of CodeMirror
cm-search-replace is modified from codemirror-search-replace
Only the component mount location is changed
Usage
import "cm-search-replace/src/search.js"
import "codemirror/addon/search/searchcursor.js";
import "codemirror/addon/scroll/annotatescrollbar.js";
import "codemirror/addon/search/matchesonscrollbar.js";
Use Ctrl-F / Cmd-F
to trigger search and replace
License
MIT