mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
4820fdd44f
commit
d8afc7c4bb
@ -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,
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
|
||||
|
@ -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 + '\'');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user