<div dir="auto"><div>Eric,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 9, 2019, 3:12 PM Eric Brandwein via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank" rel="noreferrer">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello devs,</div><div><br></div><div>The 'show category (C)' method shortcut isn't working, so here's a ChangeSet that fixes it. <br></div><div><br></div><div>Maybe we should find a way to unify options with shortcuts, so this doesn't happen again. Plus, making an abstraction for shortcuts would make it easier to change them from a Menu or a Browser. Right now, they are hardcoded in the methods that handle control keys. What do you think?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I was thinking along similar lines the other day: we have menus (window, morph), keyboard shortcuts and context menus.  Right now they provide all sorts of flexibility but are done in a fairly ad hoc ways that are a pain to customize.</div><div dir="auto"><br></div><div dir="auto">The thing is, they are all typically doing the similar kinds  things: exposing morph or model functionality to the user.  It's just a question of how/where.  So why not generalize it and provide a universal structure to define these snippets of functionality?  Then you just need to map it: 'this is triggered by ctrl-d', 'this goes on the morph menu' etc.  We could even provide a mechanism to customize or override via morph properties.  Dynamic functionality would require more thought and there may be some use cases that might not fit into this kind of approach, but it seems like it would work for the majority of cases.</div><div dir="auto"><br></div><div dir="auto">Would something like this address what you had in mind?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Cheers,</div><div>Eric<br></div></div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" rel="noreferrer noreferrer" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Phil</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></div></div>