On Wed, Jun 8, 2016 at 3:22 PM, 'Karsten Wolf' via leo-editor <
[email protected]> wrote:
Adding
>
>
> ('Meta-', 'Meta+'),
>
> to the table definition in toStroke()
>
> and patching qtMods()
>
> - (qt.MetaModifier, 'Alt'), # For Microsoft keyboard.
> + (qt.MetaModifier, 'Meta'), # For Microsoft keyboard.
>
> made the Control key available as Meta.
>
Many thanks for this good work. Rev d03bea4 makes the changes you suggest.
All is well on Windows, but not tested yet on MacOS.
The change you suggest in qtMods actually the two tables identical, so
rather than changing the one line as you suggest I simply eliminated the
darwin-only version of the table.
> This all is on OSX 10.6 with Anaconda Python and with this modification
> and the more mac like shortcuts Leo is very usable. I don't know what these
> changes will do on other platforms but I'm curious if I've missed something
> or nobody ever used the Meta key?
>
I don't recall the history of this code, except that there has been some
history ;-) The changes you suggest seems natural, and we'll have plenty
of time to test them.
EKR
--
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.