Steven van Dijk wrote:
> if I load a document and try to delete every space by doing a replace which
> searchs for a space and replaces it with nothing, LyX goes into an infinite
> loop replacing the same space.
Thanks for your report.
I took a look at lyxfr1.C, replacing something in the end means
calling CutSelection in text2.C. CutSelection does never cut a single
space. There�s an if block and a while block, if you comment out
both, the problem will disappear. Maybe we should put these two
blocks in an if, so the will only get called if selection != " "?
Any other ideas?
I don�t know that part of the code good enough, so there�s no
patch...
Regards
Daniel
--
PGP Key fingerprint = 3D 98 9E D2 00 B6 E0 9D 7E B9 77 23 17 E2 11 6A
http://cgi4all.alabanza.com/glasatelier/