mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
fix tabulator keys in tabular (bug 1836)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9730 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ee8338a112
commit
7a032c6b06
@ -1,3 +1,7 @@
|
||||
2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* lyx_main.C: fix binding of tabulator key (especially S-Tab).
|
||||
|
||||
2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* lyx_main.C (queryUserLyXDir): fix logic when LyX support
|
||||
|
@ -1,3 +1,6 @@
|
||||
2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* insettabular.C (getStatus): enable tabulator keys (bug 1836).
|
||||
|
||||
2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
|
@ -968,6 +968,12 @@ bool InsetTabular::getStatus(LCursor & cur, FuncRequest const & cmd,
|
||||
return true;
|
||||
}
|
||||
|
||||
// These are only enabled inside tabular
|
||||
case LFUN_CELL_BACKWARD:
|
||||
case LFUN_CELL_FORWARD:
|
||||
status.enabled(true);
|
||||
return true;
|
||||
|
||||
// disable these with multiple cells selected
|
||||
case LFUN_INSERT_CHARSTYLE:
|
||||
case LFUN_INSET_FLOAT:
|
||||
|
@ -525,7 +525,9 @@ void LyX::defaultKeyBindings(kb_keymap * kbmap)
|
||||
kbmap->bind("Down", FuncRequest(LFUN_DOWN));
|
||||
|
||||
kbmap->bind("Tab", FuncRequest(LFUN_CELL_FORWARD));
|
||||
kbmap->bind("ISO_Left_Tab", FuncRequest(LFUN_CELL_FORWARD));
|
||||
kbmap->bind("C-Tab", FuncRequest(LFUN_CELL_SPLIT));
|
||||
kbmap->bind("~S-ISO_Left_Tab", FuncRequest(LFUN_CELL_BACKWARD));
|
||||
kbmap->bind("~S-BackTab", FuncRequest(LFUN_CELL_BACKWARD));
|
||||
|
||||
kbmap->bind("Home", FuncRequest(LFUN_HOME));
|
||||
kbmap->bind("End", FuncRequest(LFUN_END));
|
||||
@ -564,10 +566,6 @@ void LyX::defaultKeyBindings(kb_keymap * kbmap)
|
||||
kbmap->bind("KP_End", FuncRequest(LFUN_END));
|
||||
kbmap->bind("KP_Prior", FuncRequest(LFUN_PRIOR));
|
||||
kbmap->bind("KP_Next", FuncRequest(LFUN_NEXT));
|
||||
|
||||
kbmap->bind("C-Tab", FuncRequest(LFUN_CELL_SPLIT));
|
||||
kbmap->bind("S-Tab", FuncRequest(LFUN_CELL_BACKWARD));
|
||||
kbmap->bind("S-ISO_Left_Tab", FuncRequest(LFUN_CELL_BACKWARD));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user