On 24-Feb-2001 Miyata Shigeru wrote:
> I think I know what's going on.
[snipped good backtrace!]
> Now I'd like to ask you, who sets the selection = true, and
> for what purpose?
No you got this wrong! selection isn't true, the problem is that the
UndoFunction inside a InsetText::LyXText is NEVER called. Here the
problem was that inside InsetText::SetFont there was ALWAYS called
the Undo function. I now call it only if we have a selection!
Thanks for you tips!
Jürgen
BTW.: We probably have to deactivate the Undo for InsetTabular or at least
for insets with n > numberofcells!
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
In war, truth is the first casualty.
-- U Thant