On Thu, Jul 18, 2024 at 12:27 PM Thomas Passin <[email protected]> wrote:

Excellent. Imo, #4 should (eventually) be a separate script so that users
> can get it directly (without having to do toggle-split-direction.
>
>
> Yes indeed.  You just need to add orientation detection to the script.  I
> used to know how to do that but I don't remember  just now.
>

Now we're getting somewhere :-)

Converting a prototype (@button script) to a plugin opens up new
capabilities.  Examples:

1. There is a setting that specifies initial orientation. A plugin *could*
use that setting, but a plugin could try other strategies, such as
examining the widget hierarchy directly.

2. Plugins can queue code to run after Leo's has created outline frames.
Such code can discover whether VR or VR3 is running (if either). So the
plugin can add the "3" if necessary.  Understand?

*Summary*

Keep the @button prototypes dead simple. Add nifty features to the
corresponding plugins if you like.

Edward

-- 
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/CAMF8tS1uKyUVk11q03CSXFYm7aTjpGeUqScv_93FnCsR7oqYmg%40mail.gmail.com.

Reply via email to