small fixes after latin patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2001 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-05-16 10:36:06 +00:00
parent 4820fdd44f
commit d8afc7c4bb
5 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* bind/latinkeys.bind: fix typo
2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
* bind/latinkeys.bind: new file. bindings for latin1, latin2,

View File

@ -235,7 +235,7 @@
\bind "Ecaron" "accent-caron E"
\bind "Dcaron" "accent-caron D"
\bind "Dstroke" "self-insert"
\bind "Nacute" "accent-actue N"
\bind "Nacute" "accent-acute N"
\bind "Ncaron" "accent-caron N"
\bind "Odoubleacute" "accent-hungarian-umlaut O"
\bind "Rcaron" "accent-caron R"

View File

@ -1,3 +1,12 @@
2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxrc.C (read): print error about invalid key sequence only when
debugging (because not all latinX keysyms are known to some X
servers)
* kbsequence.C (getiso): add a few std:: qualifiers
(getiso): comment out extra return statement.
2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
* BufferView_pimpl.C (Dispatch): comment out the old "default" key

View File

@ -262,8 +262,8 @@ char kb_sequence::getiso() const
{
unsigned int const c = getsym();
lyxerr << "Raw keysym: " << hex << c << dec << endl;
lyxerr << "byte 3: " << hex << (c & 0x0000FF00) << dec << endl;
lyxerr << "Raw keysym: " << std::hex << c << std::dec << endl;
lyxerr << "byte 3: " << std::hex << (c & 0x0000FF00) << std::dec << endl;
switch (c & 0x0000FF00) {
// latin 1 byte 3 = 0
@ -285,7 +285,8 @@ char kb_sequence::getiso() const
}
// not a latin char we know of
return '\0';
// Yes but this is already handled above (JMarc)
//return '\0';
}

View File

@ -714,8 +714,10 @@ int LyXRC::read(string const & filename)
<< action << '\'' << endl;
}
res = toplevel_keymap->bind(seq, action);
if (res != 0) {
if (res != 0
&& lyxerr.debugging(Debug::KBMAP)) {
lexrc.printError(
"RC_BIND: "
"Invalid key sequence `"
+ seq + '\'');
}