diff --git a/src/LyXAction.C b/src/LyXAction.C index 194945b5e5..d5eb40df3f 100644 --- a/src/LyXAction.C +++ b/src/LyXAction.C @@ -180,7 +180,6 @@ void LyXAction::init() { LFUN_FONT_STATE, "font-state", ReadOnly }, { LFUN_FONT_UNDERLINE, "font-underline", Noop }, { LFUN_FOOTNOTE_INSERT, "footnote-insert", Noop }, - { LFUN_GREEK_INSERT, "greek-insert", Noop }, { LFUN_HFILL_INSERT, "hfill-insert", Noop }, { LFUN_HELP_OPEN, "help-open", NoBuffer | Argument}, { LFUN_HTML_INSERT, "html-insert", Noop }, diff --git a/src/lfuns.h b/src/lfuns.h index b5469fd220..d630ef5c9b 100644 --- a/src/lfuns.h +++ b/src/lfuns.h @@ -380,7 +380,6 @@ enum kb_action { LFUN_CLEARPAGE_INSERT, // Ugras 20061125 //290 LFUN_CLEARDOUBLEPAGE_INSERT, // Ugras 20061125 - LFUN_GREEK_INSERT, // André 20070402 LFUN_LASTACTION // end of the table }; diff --git a/src/text3.C b/src/text3.C index 8f6fd851b7..e2674ad5c0 100644 --- a/src/text3.C +++ b/src/text3.C @@ -1329,13 +1329,6 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd) mathDispatch(cur, FuncRequest(LFUN_SELF_INSERT, "^"), false); break; - case LFUN_GREEK_INSERT: { - cur.insert(new InsetMathHull(hullSimple)); - cur.dispatch(FuncRequest(LFUN_CHAR_FORWARD)); - cur.dispatch(FuncRequest(LFUN_CHAR_FORWARD)); - cur.dispatch(cmd); - break; - } case LFUN_MATH_INSERT: case LFUN_MATH_MATRIX: case LFUN_MATH_DELIM: @@ -1941,7 +1934,6 @@ bool LyXText::getStatus(LCursor & cur, FuncRequest const & cmd, case LFUN_CLEARDOUBLEPAGE_INSERT: case LFUN_MATH_DISPLAY: case LFUN_MATH_IMPORT_SELECTION: - case LFUN_GREEK_INSERT: case LFUN_MATH_MODE: case LFUN_MATH_MACRO: case LFUN_MATH_MATRIX: