[MonoDevelop] Managed Line Editor

Matej Urbas matej.urbas at gmail.com
Tue Oct 31 15:23:41 EST 2006


On Tue, 2006-10-31 at 20:11 +0100, Kamil Skalski wrote:
> >
> >  - full-text searching in segmented buffers is hard (it is trivial for
> > non-segmented buffers)
> 
> Well I don't see much difference here. Search algorithms are doing
> linear walk through all the text anyway, so it does not really matter
> if at some point it will need to handle newline character or end of
> segment. Simply it will "switch to another segment" after getting to
> the end of previous one and that's all.
> 
> 

Mostly, you are right. But what about regex searches? As far as I
know, .NET can only search whole strings. Hence, multiline regex
searches become impossible with segmented strings (for example: you
cannot match multiline strings with regex in VS.NET 2005 - I think).

Searching IS an issue here - but only multiline searhing.



More information about the Monodevelop-list mailing list