[MonoDevelop] [PATCH] Type-Ahead Find

Zach Lute zach.lute at gmail.com
Tue Mar 13 19:37:53 EDT 2007


> > * When "Enable type-ahead find" option is set, the Find command brings
> > up a simple toolbar below the editor instead of a separate dialog box.
>
> Instead of having two options, I suggest that C-f always activates this
> mode, and that a different combination is used to activate an "advanced"
> mode.

I think that's a valid way of looking at it, too.  It would also get
around my "no keybind to go to the advanced find" problem at the
moment.  Plus, Lluis suggested it was bad as an option on the editor,
since it can be used on other things, so this would solve that problem
as well. :)

> > * Typing in the find box will search the current file as you type.
> > Pressing up/down will go to the previous/next match in the file.
>
> One thing that might be useful, but I do not know how to do this would
> be to also search on other files.   Not sure how to do this, because
> people expect the C-g/F3 to wrap the search around, not change the
> buffer.

Yeah, that was something I could not come up with a clean way to do,
though I'm certainly open to suggestions.   Perhaps some combination
of actions would cause it to move to the next open buffer to search or
something like that?  I'm not sure how you'd ever cleanly have it
search any file in the solution, but maybe I'm just thinking about it
wrong.

> > * Currently, any options not exposed on the toolbar itself will use
> > the options set in the advanced box.  For example, if in the advanced
> > box the search is set to use Wildcards or Regexp, the toolbar will use
> > that option.  This seemed like a simple way to allow users to modify
> > the "default" behavior of that find box, but there might be a better
> > way.
>
> This might feel strange, what about adding a checkbox in that bar to
> configure those options?

Originally I was going to try to come up with a way to put all of
those options on the bar, but the issue is...well, there are a lot of
options and not a lot of bar, so I was trying to keep the visible
stuff to a minimum.  Especially since I'm also trying to display the
'Reached bottom, continued from top.' or 'No results found.' message
in that bar as well.

I'm going to look at it tonight and make some of Lluis's suggestions,
so I'll see if I can come up with anything more intelligent to do with
those as well.


More information about the Monodevelop-list mailing list