On Sep 22, 2005, at 5:57 PM, Martin Vermeer wrote:
Give the attached a try.
I think it is quite a bit faster, and fixes your noticed side effect.
Wow! What a difference! Typing in long documents feels almost as fast
as 1.3.6, and processor usage no longer gets pegged at absurdly high
levels. The side effect is fixed as well.
There may be other side effects; this patch touches so many things, it
scares me a bit. But the speedup is so substantial that perhaps we
should just take the jump, and clean up afterwards. And I have a good
feeling that now SinglePar works as it was intended to.
This patch does not help typing in footnotes, TeX Code, or other
insets (margin pars, minipages, LyX notes, etc.). Insets within
insets work, but are predictably slow as well.
Cut and paste works, as does undo. (Undo even works when the previous
change was off the current screen: the screen is properly redrawn at
the location of the last change.)
Cursor movement is a bit strange. This is especially noticeable with
page-up and page-down: it seems like the cursor moves, but the screen
doesn't get redrawn. It also happens with moving the cursor left and
right (though not with up and down) and with moving by paragraph. The
screen does get properly redrawn when moving the cursor to select text.
One final (and minor) oddity I've noticed: quick, repeated deleting
of previous words results in the cursor moving backwards faster than
the words get erased from the screen.
Bennett