>> This is indeed a good argument in favour of cloning the Buffer. > >Nope. I just profiled with sysprof what happens when >typing in UserGuide with LaTeX source shown (with full >source). Conclusions are > > * it is painfully slow :) > > * 69% of time is spent in libQtGui itself > > * 4.3% of time is used to generate the full source code > >I guess that qtextedit does not like big texts...
Maybe, it's because of the syntax-markup. It has to parse the whole tex 'file' to get the coloring right ? (bug: insert an ERT with the text "\\a", the "\a" is now colored as a latex command). Vincent