How to add search functionality for the ACE editor?

1,863 views
Skip to first unread message

Manikanta A C

unread,
Aug 22, 2014, 7:20:22 AM8/22/14
to ace-d...@googlegroups.com
Hi,

Please suggest me in adding Search functionality in the ACE editor.

I see few search related .js files in ace-bundle:
        1)incremental_search.js
        2)search.js
        3)search_highlight.js
        4)ext-searchbox.js

Which one I have to take?
Sample code to add it for the editor?


Regards,
Mani

Harutyun Amirjanyan

unread,
Aug 22, 2014, 7:24:52 AM8/22/14
to ace-d...@googlegroups.com
Hi,
it should work out of box, press ctrl-f

Eric Majerus

unread,
Aug 26, 2014, 9:52:39 AM8/26/14
to ace-d...@googlegroups.com
Ctrl + F searching works only for what you can see on the screen. Any text before or after what is visible is not found.

Harutyun Amirjanyan

unread,
Aug 26, 2014, 9:58:54 AM8/26/14
to ace-d...@googlegroups.com
that's with browser Ctrl + F
Ctrl + F inside Ace opens different findbar, unless you are using very
old version of Ace
Reply all
Reply to author
Forward
0 new messages