Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl-F to search is broken #62

Closed
ratiotile opened this issue Aug 29, 2016 · 3 comments
Closed

Ctrl-F to search is broken #62

ratiotile opened this issue Aug 29, 2016 · 3 comments

Comments

@ratiotile
Copy link

ratiotile commented Aug 29, 2016

possibly related to #58
Using brace 0.8.0, trying to search by pressing ctrl-f throws errors:

ext-searchbox.js:1 Uncaught SyntaxError: Unexpected token <
brace:10749 Uncaught TypeError: Cannot read property 'Search' of undefined

the ext-searchbox.js loaded by the browser looks like html, which explains the syntax error.

brace:10749 is config.loadModule("ace/ext/searchbox", function(e) {e.Search(editor)})
so the error in ext-searchbox.js is making it return undefined.

@ratiotile
Copy link
Author

Needed to require('brace/ext/searchbox')

@AStoker
Copy link

AStoker commented Jan 18, 2017

Did you have to modify your code @ratiotile, or was this done in the source code?

@ratiotile
Copy link
Author

I needed to require('brace/ext/searchbox') in my application that uses brace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants