As an alternative solution, I'm thinking to create two new user defined commands, @key=Move_up_key and @key=Move_down_key for moving current node UP and DOWN.
Would you please share me where I can find of Leo code for moving node UP and DOWN for reference? Thanks, Austin Xu Wang <[email protected]> 于2020年2月23日周日 上午1:13写道: > Dear Leo Developer, > > If I have a node with 5 subnodes, the child #1 is focused, I clicked > SHIFT-DOWN, child #1 and child #2 will swap position. Is there an event > for the position swap? > > I checked here > http://leoeditor.com/slides/writingPlugins.html#handling-events > but was not able to find a related one. > > Best Regards, > Austin > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAEpKVv9nNmhw8xApiFne90_K5wwx_uj_DBDMVTCjRkoLpKJT0g%40mail.gmail.com.
