[MonoDevelop] Searching

Lluis Sanchez lluis at ximian.com
Mon Nov 28 15:23:20 EST 2005


Hi!

I'm sorry, but I don't get your point. Right now Search has a specific
behavior, which is: wrap, no loop (bugs aside). If you want to provide
alternate ways of wrapping, looping its ok to me, as long as it is
configurable and the original behavior is available.

Lluis.

El lun, 28-11-2005 a las 20:55 +0100, Jacob Ilsø Christensen escribió:
> On 11/28/05, Lluis Sanchez <lluis at ximian.com> wrote:
>         Hi!
>         
>         >
>         >         > In other words, how should we define search
>         wrapping? Should
>         >         it just
>         >         > continuously say that it found an A or stop when
>         reaching an
>         >         A already 
>         >         > found.
>         >
>         >         The current behavior is to stop.
>         >
>         > Ok, should we stop or loop forever?
>         
>         So you are asking if we should change the current behavior?
>         Some people
>         will say yes, and some other will say no, so making it
>         configurable 
>         looks like a good option.
> 
> Yes, but actually I see two options:
> 
> * Wrap search: if search starts from the middle of a text, wrap the
> search when the end of the text is reached and continue searching till
> the old start point.
> * Wrap search loop: when wrap searching is enabled continue to find
> matches (looping forever) or stop when all matches have been found.
> 
> /Jacob
>  
> 
>         >
>         >
>         >         > E.g. gedit keeps returning the next A forever when
>         search 
>         >         > wrapping is enabled. Also should search wrapping
>         be
>         >         > configurable as it is in gedit?
>         >
>         >         I have no problem in making it configurable.
>         >
>         > Ok.
>         > 
>         >
>         >         >
>         >         > Guess this is it for now. I would like some input
>         here. :-)
>         >
>         >         > /Jacob
>         >         >
>         >         >
>         >         > _______________________________________________ 
>         >         > Monodevelop-list mailing list
>         >         > Monodevelop-list at lists.ximian.com
>         >         >
>         http://lists.ximian.com/mailman/listinfo/monodevelop-list
>         >
>         >
>         
> 



More information about the Monodevelop-list mailing list