On Fri, Jan 3, 2014 at 11:00 AM, Jacob Peck <[email protected]> wrote:

> Hi all,
>
> As of rev 6510, you can now add a @color keyword to your @button nodes to
> define the background color of a button.  For example:
>
> @button my button @key=Ctrl+Alt+1 @color=white
>
> That will create a white button labeled 'my-button', bound to the
> Ctrl+Alt+1.
>
> Along with this is a code cleanup for the @key and @args parsing code, as
> there were subtle hidden logic errors involved.  Instead of deleting the
> old code, I have it guarded by an "if 0:" block, in case I screwed
> something up.  All unit tests pass.
>

Thanks, Jake, for this.  I like the "if 0" idea where complex logic is
involved.

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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to