Pavel Sanda wrote:
Richard Heck wrote:
Pavel Sanda wrote:
Richard Heck wrote:
switch(lyxaction.getActionType(action)) {
- case LyXAction::Hidden:
- return 0;
+ case LyXAction::Hidden: {
+ if (tag == KeyMap::System)
+ return 0;
+ newItem = new QTreeWidgetItem(systemItem_);
+ break;
+ }
why not only change self-insert lfun to be of the non-hidden type?
If you do that, then all the bindings from latinkeys.bind show up, e.g.:
\bind "a" "self-insert"
\bind "b" "self-insert"
etc
which are 98% of the "hidden" bindings. I'm trying to avoid that.
aha, i didn't know we have so many of them.
I assume that's why Bo did it this way in the first place.
rh