On Thu, 26 Jun 2008 11:37:32 -0500 "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> The simplest thing that could possibly work is to mark nodes > (possibly in a way distinct from standard marks) and then support > commands to operate on such marked nodes. Say commands such as: > clone-marked-nodes, copy-marked-nodes and move-marked nodes. These > would require no changes at all to Leo's tree widget. Of course, the mark mechanism does parallel the idea of multiple selected nodes. Even covers the issue of different representation for the last node selected, that would be the current position, which has an graphical appearance orthogonal to marking. But to be as quick and easy as I'd expect a modern gui to be for marking multiple nodes some kind of Ctrl-click and Shift-click action would be needed. It seems knowing the state of Shift and Ctrl on the click callbacks would require poking into the Tk event currently? I.e. there's no Leo API for that info.? But Tk specificness might be ok, as I suspect other GUI tree widgets (at least the pre-packaged ones) have Ctrl and Shift multi-node selectiong behaviors. Cheers -Terry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---