[MonoDevelop] Searching
Jacob Ilsø Christensen
jacobilsoe at gmail.com
Mon Nov 28 14:30:25 EST 2005
On 11/28/05, Lluis Sanchez <lluis at ximian.com> wrote:
>
> El lun, 28-11-2005 a las 18:00 +0100, Jacob Ilsø Christensen escribió:
> > Hi.
> >
> > I am looking at the problem with searching in MD
>
> What is the problem?
Well, there are a couple of problems. Firstly, search does not work, if the
word being searched for is in the end of the file (with no whitespace after
it. Secondly if you have positioned the cursor in the word being searched
for, it is not found. There are probably more...
> and have a few questions as to how it should work.
> >
> > Suppose you have the following text. | denotes the cursor position.
> >
> > A A A| A
> >
> > Searching for A should return the 4th A. Subsequent searches should
> > then return 1st, 2nd and 3rd A. Should searching again return the 4th
> > A or return not found?
>
> This is the current behavior.
>
> >
> > 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?
> 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/741aa239/attachment.html
More information about the Monodevelop-list
mailing list