+2000-12-18 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyxfunc.C (processKeySym): discover the correct argument if
+ the action is LFUN_SELFINSERT
+
2000-12-18 Dekel Tsur <dekelts@tau.ac.il>
* src/mathed/math_cursor.C (Interpret) Suppress a debug message
2000-12-18 Dekel Tsur <dekelts@tau.ac.il>
* src/mathed/math_cursor.C (Interpret) Suppress a debug message
// so we`ll skip the dispatch.
return 0;
}
// so we`ll skip the dispatch.
return 0;
}
+ } else if (action == LFUN_SELFINSERT) {
+ // We must set the argument to the char looked up by
+ // XKeysymToString
+ char const * tmp = XKeysymToString(keysym);
+ // if (!argument.empty()) {
+ argument = tmp ? tmp : "";
+ // }
+ lyxerr[Debug::KEY] << "SelfInsert arg["
+ << argument << "]" << endl;
bool tmp_sc = show_sc;
show_sc = false;
bool tmp_sc = show_sc;
show_sc = false;