[MonoDevelop] Searching

Jacob Ilsø Christensen jacobilsoe at gmail.com
Mon Nov 28 14:55:08 EST 2005


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/53284bf8/attachment.html


More information about the Monodevelop-list mailing list