You have got to get the *new_position* argument to the command. There's a method for a command to get arguments from the minibuffer, but I've never used it so I can't give you the details. Someone else could chime in here ...
On Saturday, February 26, 2022 at 4:36:22 PM UTC-5 SegundoBob wrote: > cmdr.selectPosition(posX) has immediate effect when executed by Ctrl+B, > but it has NO observable effect when executed in an @command function > invoked by a menu item. > > Is there any way to do what I want to do? > > SegundoBob > > -- 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/30a3e751-8bef-46de-8743-5493173ff8fdn%40googlegroups.com.
