mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix the KP_ problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1283 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4d9a456303
commit
b4902ff0a3
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -270,8 +270,18 @@ int LyXFunc::processKeySym(KeySym keysym, unsigned int state)
|
||||
// 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;
|
||||
Dispatch(action, argument);
|
||||
|
Loading…
Reference in New Issue
Block a user