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 not working #5

Open
hsborges opened this issue May 2, 2017 · 2 comments
Open

Ctrl+F not working #5

hsborges opened this issue May 2, 2017 · 2 comments

Comments

@hsborges
Copy link

hsborges commented May 2, 2017

Hi, I'm testing your plugin and it seems very useful.
However, I noticed the search is not working. Do I need to use any special config?
Thanks

@dfreeman
Copy link
Owner

dfreeman commented May 2, 2017

Hi @hsborges — good question! I haven't played with search in Ace, so I'm not sure what all is involved in setting it up. I see that it's enabled in the demo on their website, though, so clearly the support exists.

A good first step would probably be to look through the API docs there or check with one of the groups on the Support page to see how to get that set up. You can get access to the Editor instance by implementing the ready action on this component to make any additional configuration changes via the core Ace APIs.

Once you have that working, I'd be happy to take a look at a PR if there are things we can do from this end to make enabling search easier 🙂

@panthony
Copy link

For me it was simply the extension searchbox that was missing.

I simply add to declare it in ember-cli-build.js:

    ace: {
      themes: [ 'chrome' ],
      modes: [ 'javascript', 'json' ],
      workers: [ 'javascript', 'json' ],
      exts: [ 'searchbox' ]
    }

No further configuration required and it worked.

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

No branches or pull requests

3 participants