On Nov 20, 11:02 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> It's possible to cut/paste an outline within a single .leo file, but
> not between files when using the qt plugin. Presumably, the call to
> g.app.gui.toUnicode is too optimistic in ignoring encoding issues in
> this case.  I'll fix this when I can.

Turns out unicode has (almost) nothing to do with the problem.  I did
improve leoQtGui.toUnicode, but that had no effect.

The real problem is the transfer of key handling from one window to
another.  For example, one way to work around the problem is to click
in the body pane after the paste :-) If this is a Qt bug, it should be
easy to work around.

Nothing fix pushed to the trunk yet, but soon...

Edward

P. S. While I was investigating this, I altered the headline-expansion
event handler so it always fully redraws the tree.  I'm not sure why
the old way even came close to working--it doesn't make sense to me.
This may explain some odd happenings at unexpected moments.

There is some history behind this weird old optimization, but at this
point a full redraw only draws the minimum necessary nodes, so doing a
full redraw in the expansion handler is probably the best possible
approach anyway.

EKR
--~--~---------~--~----~------------~-------~--~----~
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