[MonoDevelop] Searching

John Luke john.luke at gmail.com
Mon Nov 28 13:40:01 EST 2005

Jacob Ilsø Christensen wrote:
> Hi.
> I am looking at the problem with searching in MD 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?
> 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.
> 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 personally would expect it to wrap forever (and notify in the 
statusbar that it wrapped).  Since MD targets programmers I think that 
the behavior can be what a programmer would expect, gedit probably 
leaves it configurable because of a wider target audience.

More information about the Monodevelop-list mailing list