From 6e1863bc699c3313ac9a7eafee51cdda5dd45649 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 25 Oct 2005 15:07:22 +0000 Subject: [PATCH] get rid of LFUN_KEYMAP_TOGGLE git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10576 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 6 ++++++ src/LyXAction.C | 1 - src/lfuns.h | 7 +++---- src/text3.C | 6 ------ 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 48abca0b57..3a762511c9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2005-10-25 Jean-Marc Lasgouttes + + * text3.C (dispatch, getStatus): + * LyXAction.C (init): + * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE + 2005-10-25 Jean-Marc Lasgouttes * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC. diff --git a/src/LyXAction.C b/src/LyXAction.C index baad189412..9c98b95881 100644 --- a/src/LyXAction.C +++ b/src/LyXAction.C @@ -333,7 +333,6 @@ void LyXAction::init() { LFUN_REPEAT, "repeat", NoBuffer }, { LFUN_WORD_FIND, "word-find", ReadOnly }, { LFUN_WORD_REPLACE, "word-replace", Noop }, - { LFUN_KEYMAP_TOGGLE, "keymap-toggle", Noop }, { LFUN_LANGUAGE_BUFFER, "buffer-language", Noop }, { LFUN_TEXTCLASS_APPLY, "textclass-apply", Noop }, { LFUN_TEXTCLASS_LOAD, "textclass-load", Noop }, diff --git a/src/lfuns.h b/src/lfuns.h index 0ab0a1b15e..0c7633df5c 100644 --- a/src/lfuns.h +++ b/src/lfuns.h @@ -337,23 +337,22 @@ enum kb_action { // 255 LFUN_EXPORT_CUSTOM, LFUN_PRINT, - LFUN_KEYMAP_TOGGLE, LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE, - // 260 LFUN_LANGUAGE_BUFFER, + // 260 LFUN_TEXTCLASS_APPLY, LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY, - // 265 LFUN_LYXRC_APPLY, + // 265 LFUN_GRAPHICS_EDIT, LFUN_INSET_REFRESH, LFUN_NEXTBUFFER, LFUN_PREVIOUSBUFFER, - // 270 LFUN_WORDS_COUNT, + // 270 LFUN_OUTPUT_CHANGES, // jspitzm 20050121 LFUN_BIBDB_ADD, LFUN_BIBDB_DEL, diff --git a/src/text3.C b/src/text3.C index 6497505a7e..b63cf42a23 100644 --- a/src/text3.C +++ b/src/text3.C @@ -775,11 +775,6 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd) break; } - case LFUN_KEYMAP_TOGGLE: - cur.clearSelection(); - bv->switchKeyMap(); - break; - case LFUN_SPACE_INSERT: if (cur.paragraph().layout()->free_spacing) insertChar(cur, ' '); @@ -1904,7 +1899,6 @@ bool LyXText::getStatus(LCursor & cur, FuncRequest const & cmd, case LFUN_THESAURUS_ENTRY: case LFUN_PARAGRAPH_APPLY: case LFUN_ESCAPE: - case LFUN_KEYMAP_TOGGLE: case LFUN_ENDBUF: case LFUN_BEGINNINGBUF: case LFUN_BEGINNINGBUFSEL: