Commit graph

7 commits

Author SHA1 Message Date
amitch6097
2bd08483de fix #1246, Find modal does not select input text on second Command + F 2020-01-23 19:50:28 -05:00
davidbmx
6030b355ff Remove num results when don't match find 2019-09-10 12:38:12 -05:00
davidbmx
22f958e50a Add matches search into code mirror 2019-09-10 12:00:27 -05:00
David
876f0b30fc Add matches search into code mirror 2019-09-02 08:02:49 -05:00
Nimish Agrawal
705dd5c796 Focus on find input (#1044) 2019-04-30 17:24:41 -04:00
Katyayani Singh
fa98306b9a Update Find styling to new design (#401)
* Update Find styling

* Update placeholder text
2017-07-28 17:38:47 +02:00
Andrew Nicolaou
2e62c6b288 Find (#359)
* Styles CodeMirror Search box

* Switch to fork of search add-on

* Styles search box using custom markup

* Prev/Next search behaviour, highlighting current result

* Hide search modifiers until implemented

* Regexp search

* Style RegExp modifier button active state

* Styles search modifiers

* Wires up Case Sensitive search button

* Allows case insenstive regexp search

* Do not show underlying regexp query string when re-opening dialog

* Adds "Whole word" search

* Adds title and aria-label for tooltip and screenreaders

* Whole Word button shows correct active/inactive state

* Disables replace implementation which doesn't work

* Tidies up query parsing so it's less of a hack

- uses state to convert query text into a regexp
- avoids having to fake regexp using "/.../" syntax
- parsing is now in one place

* Uses shared metaKey function for Cmd/Ctrl key

* Adds find function to keyboard shortcuts modals

* Sets aria-checked to true/false to indicate button state

* Sets role=checkbox on checkbox-like buttons
2017-06-06 15:20:21 -04:00