Created
January 4, 2018 04:04
-
-
Save mfyz/f674749c04086609e8bc826652f9b832 to your computer and use it in GitHub Desktop.
CodeMirror search programmatically
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmInstance.state.search = { | |
query: "search query", | |
lastQuery: null, | |
posFrom: null, | |
posTo: null, | |
overlay: null | |
}; | |
cmInstance.execCommand('findNext'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment