mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
bug 2221: List depth icon highlightning is out-of-sync
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10751 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1452a2c31f
commit
512338c9c5
@ -1,3 +1,9 @@
|
||||
2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* kbmap.C (defkey):
|
||||
* lyxfunc.C (processKeySym): make sure new FuncRequest objects
|
||||
have origin set to KEYBOARD. (bug 2221)
|
||||
|
||||
2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* rowpainter.C (isCursorOnRow): do not exclude endpos().
|
||||
|
@ -274,6 +274,7 @@ void kb_keymap::defkey(kb_sequence * seq,
|
||||
newone->mod = seq->modifiers[r];
|
||||
if (r + 1 == seq->length()) {
|
||||
newone->func = func;
|
||||
newone->func.origin = FuncRequest::KEYBOARD;
|
||||
newone->table.reset();
|
||||
return;
|
||||
} else {
|
||||
|
@ -307,7 +307,8 @@ void LyXFunc::processKeySym(LyXKeySymPtr keysym, key_modifier::state state)
|
||||
// by a binding
|
||||
if (keysym->isText() && keyseq.length() == 1) {
|
||||
lyxerr[Debug::KEY] << "isText() is true, inserting." << endl;
|
||||
func = FuncRequest(LFUN_SELFINSERT);
|
||||
func = FuncRequest(LFUN_SELFINSERT,
|
||||
FuncRequest::KEYBOARD);
|
||||
} else {
|
||||
lyxerr[Debug::KEY] << "Unknown, !isText() - giving up" << endl;
|
||||
owner->message(_("Unknown function."));
|
||||
@ -318,7 +319,8 @@ void LyXFunc::processKeySym(LyXKeySymPtr keysym, key_modifier::state state)
|
||||
if (func.action == LFUN_SELFINSERT) {
|
||||
if (encoded_last_key != 0) {
|
||||
string const arg(1, encoded_last_key);
|
||||
dispatch(FuncRequest(LFUN_SELFINSERT, arg));
|
||||
dispatch(FuncRequest(LFUN_SELFINSERT, arg,
|
||||
FuncRequest::KEYBOARD));
|
||||
lyxerr[Debug::KEY]
|
||||
<< "SelfInsert arg[`" << arg << "']" << endl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user