Closed Boom1597 closed 2 years ago
I think you need to require: codemirror/addon/search/searchcursor.js.
thanks a lot! now I can use this function to search key, but it's only support to find next key, disable to find previous, how can i do it? by the way, how can I do this using the merge library?
Huh, Mergely's documentation is wrong for #search. The usage is: search(side, query, direction)
, where direction
is "next" or "prev".
thanks! it really helped me.
I want to provide search functionality to my users, but it gives an error that "Uncaught TypeError: s.getSearchCursor is not a function". What can I do to fix this?