L-Focus / cm-search-replace

Implements the search and replace function of CodeMirror

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Implements the search and replace function of CodeMirror


Languages

Language:JavaScript 100.0%