Juergen Spitzmueller wrote:

> You are all invited to the party! Seriously, I really have tried all and
read 
> through the sources. I just have no explanation on this behaviour. It
seems 
> that the return key behaves fundamentally different to any other key. I'm 
> lost.
> 

+        void overwriteSelection(LyXText * lt)
+        {
+                if (lt->selection.set()) {
+                        lt->update();
+                        lt->cutSelection(true, false);

The second argument (realcut) should be true I think (btw, we should make
the cut/copy split as we have done in Cut&Paste). 

I wonder why does it work in some cases... (not that I've tested it, though)

+                        lt->update();
+                }
+        }
+

Question: why all the updates?

Regards, Alfredo


Reply via email to