On Sun, 21 Jul 2013 06:53:32 -0400 Steve Litt <sl...@troubleshooters.com> wrote:
> On Sun, 21 Jul 2013 11:47:43 +0200 > Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote: > > > Le 21/07/2013 00:56, Steve Litt a écrit : > > > You know what I'd like to see? For starters, put Customize, > > > Capitalize, Uppercase, Lowercase, and Dissolve somewhere else, > > > leaving only true character styles on the Alt+E,S menu. Second, > > > code the Alt+E,S menu so typing a letter would move the highlight > > > to the next character style beginning with that letter. That would > > > start to make applying character styles a reflex that doesn't > > > interfere with thought about content. For extra credit, have a > > > single hotkey bring up the floating menu of character styles. > > > > For the shortcut solution, I think you can do it by yourself: bind > > some key to "menu-open charstyles", where the menu is defined as > > > > Menu "charstyles" > > CharStyles > > Separator > > Elements > > End > > JMarc, > > In which file do I define the menu this way? OK, I found it in /usr/share/lyx/ui/stdmenus.inc. So I'll just put an Alt+C Charstyles just before help, and make sure that has *only* the charstyles. I'm pretty sure I can figure that out by the way the current menu is built. My only question is this: Other than modifying /usr/share/lyx/ui/stdmenus.inc, what file can I put it in? I'd like to modify some file under my home directory so it survives LyX upgrades. By the way, I think doing this will give me about 80% of what I asked for in the first email. I'm looking forward to it. Thanks, SteveT