Adds search options to find / find&replace #1324

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

matthewkastor commented Mar 25, 2013

I use regex searches all the time for finding and replacing text
so I changed the searchbox extension a little bit to do what I want.
I added in the whole word and case sensitive options too. It works
nicely and updates the highlighted bits when the checkboxes change.

@matthewkastor matthewkastor Adds search options to find / find&replace
I use regex searches all the time for finding and replacing text
so I changed the searchbox extension a little bit to do what I want.
I added in the whole word and case sensitive options too. It works
nicely and updates the highlighted bits when the checkboxes change.
0f9a853

nightwing referenced this pull request Mar 27, 2013

Merged

logiQL #1329

Member

nightwing commented Mar 27, 2013

Thanks! This is merged i've also added keyboard shortcuts for toggling options (will work once #1311 is merged) and used small buttons with tooltips instead of checkboxes.

nightwing closed this Mar 27, 2013

Contributor

matthewkastor commented Mar 27, 2013

:D I'm glad you like it.

I've also written some code that automatically generates a div containing all keyboard shortcuts and commands as a dictionary list. Something like

commandName
    win: Control+a
    mac: Meta+a

commandName
    etc...

and I've written a settings menu generator as well. The settings menu shows all the functions attached to the editor, session, and renderer where matching get and set prefixes are found for the base function name. It lists functions with boolean parameters as checkboxes, string parameters as text input fields, and for functions with a limited set of options it shows a select element with the options. Maybe it's easier if I just show you, it's part of a project I'm working on https://github.com/atropa/atropa-ide Take a look at it and let me know if it would be good for me to package up either of these menu generators for Ace.

Contributor

matthewkastor commented Mar 28, 2013

I just rebuilt ace so I could see the buttons and they look awesome! :D

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