Here is the log for the supposed fix:

QQQ
Fixed, I **hope** on the trunk at rev 2094.
All unit tests pass, and other tests as well, on Ubuntu and XP.

**However**, the fix was to eliminate obviously evil code whose
purpose I do not understand. It's possible the fix will cause other
problems. Please report such problem immediately.

Eliminated the test against sys.platform in onTextChanged as shown
below

   if w.changingText: ### and not sys.platform.startswith('linux'):

Clearly, the test against sys.platform is evil. I don't remember why
it might have been added. If it ever gets added back, it must have an
explanatory comment.

Undo now works, and middle-button paste still works and sticks, on
both Ubuntu and Xp.
QQQ

I have a half memory that the evil clause was related to middle-button
paste, but can not say for sure.  Clearly, a comment would have been
proper.

Please let me know immediately if you see anything strange.  BTW, not
sys.platform.startswith('linux') will always be True on MacOS and XP,
so on those platforms the change should have absolutely no effect.

Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to