Michael Schmitt wrote:

Hi Michael!

> just some short information (I have not managed to prepare nice-looking test
> cases yet).
> 
> First of all: The new S+R code is very fast. It seems to work in most cases
> but nonetheless there are at least two problems:

#:O)

> 1. Given a math formular inside a table inside a float. Search for some text
> in the math formula. When the text is highlighted, search again. The same
> text is shown (the cursor hangs). I guess the table is left in the wrong
> direction, i.e. the cursor is put in front of it when it should be put after
> it (this bug sounds familiar to me).

I think that this is matheds problem Andre could you have a look at this?

> 2. Given a document where the search string only occurs in "note" insets.
> When you put the cursor at the beginning of the doc, "search" finds the
> string but "replace all" does not. AFAICS this behaviour is dependent on the
> document, in particular what is in front of  the note. I can imagine that
> LyX sometimes does not find the "entry point" of the inset. Valgrind reports
> no memory problem.

I'll have a look at this (time permiting) when you send me some 
testcases. Better you could append them too, to the bugreport on
lyx's bugzilla.

> It is still interesting to see how LyX updates the screen (try valgrind; it
> slows down LyX such that you can see what is going on); when you search
> inside an inset, first the inset is displayed from its very beginning, than
> the correct part is shown. I once heard that LyX needs to paint some output
> in order to calculate its size. Is this the reason for the otherwise
> redundant repaints? On ancient machines you would see a lot of flickering.

Maybe I know that but this are optimizations I don't have time to have
a look now.

> OK, I will try to prepare some test cases today unless you already know what
> the problem is and what needs to be fixed. We should try to make the patch
> robust such that it can be included in 1.2.1.

ok I'll wait for this.

Thanks,

         Jug

-- 
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Kravoglstrasse 4        Tel/Fax: +39 0471 564172 -  +39 0471 564122
I-39100 Bozen           Web:     http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Reply via email to