get rid of LFUN_KEYMAP_TOGGLE

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10576 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-10-25 15:07:22 +00:00
parent 048ac3e82f
commit 6e1863bc69
4 changed files with 9 additions and 11 deletions

View File

@ -1,3 +1,9 @@
2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text3.C (dispatch, getStatus):
* LyXAction.C (init):
* lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC. * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.

View File

@ -333,7 +333,6 @@ void LyXAction::init()
{ LFUN_REPEAT, "repeat", NoBuffer }, { LFUN_REPEAT, "repeat", NoBuffer },
{ LFUN_WORD_FIND, "word-find", ReadOnly }, { LFUN_WORD_FIND, "word-find", ReadOnly },
{ LFUN_WORD_REPLACE, "word-replace", Noop }, { LFUN_WORD_REPLACE, "word-replace", Noop },
{ LFUN_KEYMAP_TOGGLE, "keymap-toggle", Noop },
{ LFUN_LANGUAGE_BUFFER, "buffer-language", Noop }, { LFUN_LANGUAGE_BUFFER, "buffer-language", Noop },
{ LFUN_TEXTCLASS_APPLY, "textclass-apply", Noop }, { LFUN_TEXTCLASS_APPLY, "textclass-apply", Noop },
{ LFUN_TEXTCLASS_LOAD, "textclass-load", Noop }, { LFUN_TEXTCLASS_LOAD, "textclass-load", Noop },

View File

@ -337,23 +337,22 @@ enum kb_action {
// 255 // 255
LFUN_EXPORT_CUSTOM, LFUN_EXPORT_CUSTOM,
LFUN_PRINT, LFUN_PRINT,
LFUN_KEYMAP_TOGGLE,
LFUN_NEXT_INSET_TOGGLE, LFUN_NEXT_INSET_TOGGLE,
LFUN_ALL_INSETS_TOGGLE, LFUN_ALL_INSETS_TOGGLE,
// 260
LFUN_LANGUAGE_BUFFER, LFUN_LANGUAGE_BUFFER,
// 260
LFUN_TEXTCLASS_APPLY, LFUN_TEXTCLASS_APPLY,
LFUN_TEXTCLASS_LOAD, LFUN_TEXTCLASS_LOAD,
LFUN_SAVE_AS_DEFAULT, LFUN_SAVE_AS_DEFAULT,
LFUN_BUFFERPARAMS_APPLY, LFUN_BUFFERPARAMS_APPLY,
// 265
LFUN_LYXRC_APPLY, LFUN_LYXRC_APPLY,
// 265
LFUN_GRAPHICS_EDIT, LFUN_GRAPHICS_EDIT,
LFUN_INSET_REFRESH, LFUN_INSET_REFRESH,
LFUN_NEXTBUFFER, LFUN_NEXTBUFFER,
LFUN_PREVIOUSBUFFER, LFUN_PREVIOUSBUFFER,
// 270
LFUN_WORDS_COUNT, LFUN_WORDS_COUNT,
// 270
LFUN_OUTPUT_CHANGES, // jspitzm 20050121 LFUN_OUTPUT_CHANGES, // jspitzm 20050121
LFUN_BIBDB_ADD, LFUN_BIBDB_ADD,
LFUN_BIBDB_DEL, LFUN_BIBDB_DEL,

View File

@ -775,11 +775,6 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
break; break;
} }
case LFUN_KEYMAP_TOGGLE:
cur.clearSelection();
bv->switchKeyMap();
break;
case LFUN_SPACE_INSERT: case LFUN_SPACE_INSERT:
if (cur.paragraph().layout()->free_spacing) if (cur.paragraph().layout()->free_spacing)
insertChar(cur, ' '); insertChar(cur, ' ');
@ -1904,7 +1899,6 @@ bool LyXText::getStatus(LCursor & cur, FuncRequest const & cmd,
case LFUN_THESAURUS_ENTRY: case LFUN_THESAURUS_ENTRY:
case LFUN_PARAGRAPH_APPLY: case LFUN_PARAGRAPH_APPLY:
case LFUN_ESCAPE: case LFUN_ESCAPE:
case LFUN_KEYMAP_TOGGLE:
case LFUN_ENDBUF: case LFUN_ENDBUF:
case LFUN_BEGINNINGBUF: case LFUN_BEGINNINGBUF:
case LFUN_BEGINNINGBUFSEL: case LFUN_BEGINNINGBUFSEL: