[MonoDevelop] Searching

Jacob Ilsø Christensen jacobilsoe at gmail.com
Mon Nov 28 15:27:50 EST 2005


Yeah, I guess it's easy to confuse things :-)

Right now I'll focus on getting wrap, no loop to work then. And after that
I'll see what other options might be desired.

/Jacob

On 11/28/05, Lluis Sanchez <lluis at ximian.com> wrote:
>
> 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
> >         >
> >         >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20051128/4314db62/attachment-0001.html


More information about the Monodevelop-list mailing list