On Thu, Feb 2, 2017 at 9:19 AM, Eric S. Johansson <[email protected]> wrote:
is it possible to keep the node/section text focus active while I'm using > dictation box? > Yes, but it will be tricky. The minibuffer must preserve and *show* the selected text when it receives focus. For example, <Alt-x>delete-comments<Return> would be useless if the selected text went away. However, <Alt-x> does *not* preserve headline editing state. This is probably because the QLineEdit widget for the headline *goes away* when the QTreeWidget loses focus. This is one of my least favorite things about Qt. All is not lost. It is possible to determine, before changing focus, what widget has focus. If it is headline edit widget, then it should be possible to save and restore the selected text. This is just an overview. Feel free to ask code-level questions. One more thing. Leo's Find command must deal with similar complications. Again, it's possible, but very tricky. 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
