mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
remove math greek lfuns properly instead of leaving them in limbo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6602 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a08e3d0844
commit
5ab95412fe
@ -1108,7 +1108,6 @@ bool BufferView::Pimpl::dispatch(FuncRequest const & ev_in)
|
||||
case LFUN_MATH_IMPORT_SELECTION: // Imports LaTeX from the X selection
|
||||
case LFUN_MATH_DISPLAY: // Open or create a displayed math inset
|
||||
case LFUN_MATH_MODE: // Open or create an inlined math inset
|
||||
case LFUN_GREEK: // Insert a single greek letter
|
||||
mathDispatch(ev);
|
||||
break;
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
2003-03-28 John Levon <levon@movementarian.org>
|
||||
|
||||
* BufferView_pimpl.C:
|
||||
* LyXAction.C:
|
||||
* lfuns.h: remove do-nothing math greek lfuns
|
||||
|
||||
2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||
|
||||
* lyxgluelength.h (isValidGlueLength): add default arg on
|
||||
|
@ -269,8 +269,6 @@ void LyXAction::init()
|
||||
{ LFUN_SETMARK, "mark-toggle", "", ReadOnly },
|
||||
{ LFUN_MATH_DELIM, "math-delim", "", Noop },
|
||||
{ LFUN_MATH_DISPLAY, "math-display", "", Noop },
|
||||
{ LFUN_GREEK, "math-greek", N_("Math Greek"), Noop },
|
||||
{ LFUN_GREEK_TOGGLE, "math-greek-toggle", "", Noop },
|
||||
{ LFUN_INSERT_MATH, "math-insert",
|
||||
N_("Insert math symbol"), Noop },
|
||||
{ LFUN_SUBSCRIPT, "math-subscript", N_("Add subscript"), Noop },
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-03-28 John Levon <levon@movementarian.org>
|
||||
|
||||
* insettext.C: remove unused prototypes
|
||||
|
||||
2003-03-25 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* insetbibitem.C (localDispatch): repaint the view after modifying
|
||||
|
@ -71,11 +71,6 @@ using std::for_each;
|
||||
using lyx::pos_type;
|
||||
using lyx::textclass_type;
|
||||
|
||||
extern unsigned char getCurrentTextClass(Buffer *);
|
||||
extern bool math_insert_greek(BufferView *, char);
|
||||
extern int greek_kb_flag;
|
||||
|
||||
|
||||
// These functions should probably go into bufferview_funcs somehow (Jug)
|
||||
|
||||
void InsetText::saveLyXTextState(LyXText * t) const
|
||||
|
69
src/lfuns.h
69
src/lfuns.h
@ -155,194 +155,191 @@ enum kb_action {
|
||||
LFUN_KMAP_TOGGLE,
|
||||
LFUN_INSERT_MATH,
|
||||
LFUN_INSERT_MATRIX,
|
||||
LFUN_GREEK,
|
||||
LFUN_MATH_LIMITS,
|
||||
// 110
|
||||
LFUN_GREEK_TOGGLE,
|
||||
LFUN_MATH_DELIM, // Alejandro 180696
|
||||
// 110
|
||||
LFUN_MATH_DISPLAY, // Alejandro 180696
|
||||
LFUN_MATH_MODE, // Alejandro 040696
|
||||
LFUN_MATH_NUMBER, // Alejandro 040696
|
||||
// 115
|
||||
LFUN_MATH_NONUMBER, // Alejandro 180696
|
||||
LFUN_MATH_SIZE, // Alejandro 150896
|
||||
// 115
|
||||
LFUN_MATH_MACRO, // ale970510
|
||||
LFUN_MATH_EXTERN, // Andre' 20010424
|
||||
LFUN_MATH_PANEL, // Andre' 20010522
|
||||
// 120
|
||||
LFUN_MATH_MUTATE, // Andre' 20010523
|
||||
LFUN_MATH_IMPORT_SELECTION, // Andre' 20010704
|
||||
// 120
|
||||
LFUN_MATH_SPACE, // Andre' 20010725
|
||||
LFUN_DELETE_WORD_FORWARD,
|
||||
LFUN_DELETE_WORD_BACKWARD,
|
||||
// 125
|
||||
LFUN_DELETE_LINE_FORWARD,
|
||||
LFUN_MARK_OFF,
|
||||
// 125
|
||||
LFUN_MARK_ON,
|
||||
LFUN_LAYOUT,
|
||||
LFUN_LAYOUT_CHARACTER,
|
||||
// 130
|
||||
LFUN_LAYOUT_PARAGRAPH,
|
||||
LFUN_LAYOUT_DOCUMENT,
|
||||
// 130
|
||||
LFUN_LAYOUT_PREAMBLE,
|
||||
LFUN_DROP_LAYOUTS_CHOICE,
|
||||
LFUN_CODE,
|
||||
// 135
|
||||
LFUN_SANS,
|
||||
LFUN_DEFAULT,
|
||||
// 135
|
||||
LFUN_UNDERLINE,
|
||||
LFUN_FONT_SIZE,
|
||||
LFUN_FONT_STATE,
|
||||
// 140
|
||||
LFUN_UPCASE_WORD,
|
||||
LFUN_LOWCASE_WORD,
|
||||
// 140
|
||||
LFUN_CAPITALIZE_WORD,
|
||||
LFUN_INSERT_LABEL,
|
||||
LFUN_DEPTH_MIN,
|
||||
// 145
|
||||
LFUN_DEPTH_PLUS,
|
||||
LFUN_MENU_OPEN_BY_NAME,
|
||||
// 145
|
||||
LFUN_SPELLCHECK,
|
||||
LFUN_CANCEL,
|
||||
LFUN_META_FAKE,
|
||||
// 150
|
||||
LFUN_EXEC_COMMAND,
|
||||
LFUN_FILE_INSERT,
|
||||
// 150
|
||||
LFUN_FILE_INSERT_ASCII, // CFO-G 1997-11-19
|
||||
LFUN_FILE_INSERT_ASCII_PARA, // Levon 2001-02-14
|
||||
LFUN_FILE_NEW,
|
||||
// 155
|
||||
LFUN_FILE_OPEN,
|
||||
LFUN_UP_PARAGRAPH, // Asger 1996-10-01
|
||||
// 155
|
||||
LFUN_UP_PARAGRAPHSEL, // Asger 1996-10-01
|
||||
LFUN_DOWN_PARAGRAPH, // Asger 1996-10-01
|
||||
LFUN_DOWN_PARAGRAPHSEL, // Asger 1996-10-01
|
||||
// 160
|
||||
LFUN_BREAKPARAGRAPH_SKIP,
|
||||
LFUN_BACKSPACE_SKIP,
|
||||
// 160
|
||||
LFUN_DELETE_SKIP,
|
||||
LFUN_MENUNEWTMPLT, // Asger 1997-02-02
|
||||
LFUN_MENURELOAD, // Asger 1997-02-02
|
||||
// 165
|
||||
LFUN_RECONFIGURE, // 170 // Asger 1997-02-14
|
||||
LFUN_RECONFIGURE, // Asger 1997-02-14
|
||||
LFUN_INDEX_PRINT, // Lgb 97-02-27
|
||||
// 165
|
||||
LFUN_APROPOS, // Asger 1997-02-27
|
||||
LFUN_LATEX_LOG, // Lgb 97-04-05
|
||||
LFUN_LAYOUT_COPY, // Asger 1997-05-04
|
||||
// 170
|
||||
LFUN_LAYOUT_PASTE, // Asger 1997-05-04
|
||||
LFUN_TABINSERT, // 180 // Ale 970515
|
||||
LFUN_TABINSERT, // Ale 970515
|
||||
// 170
|
||||
LFUN_CHILDOPEN, // Ale 970528
|
||||
LFUN_TOC_INSERT, // Lgb 97-05-27
|
||||
LFUN_FLOAT_LIST, // Lgb 20010503
|
||||
// 175
|
||||
LFUN_READ_ONLY_TOGGLE, // Lgb 97-05-27
|
||||
LFUN_GETTIP, // Ale 970603
|
||||
// 175
|
||||
LFUN_VC_REGISTER, // Lgb 97-07-01
|
||||
LFUN_VC_CHECKIN, // Lgb 97-07-01
|
||||
LFUN_VC_CHECKOUT, // Lgb 97-07-01
|
||||
// 180
|
||||
LFUN_VC_REVERT, // Lgb 97-07-01
|
||||
LFUN_VC_UNDO, // Lgb 97-07-01
|
||||
// 180
|
||||
LFUN_VC_HISTORY, // Lgb 97-07-01
|
||||
LFUN_EXPORT, // Lgb 97-07-29
|
||||
LFUN_REF_GOTO, // Ale 970806
|
||||
// 185
|
||||
LFUN_PARENTINSERT, // Ale 970813
|
||||
LFUN_REMOVEERRORS, // Asger 970906
|
||||
// 185
|
||||
LFUN_LDOTS, // Asger 970929
|
||||
LFUN_END_OF_SENTENCE, // Asger 970929
|
||||
LFUN_RUNCHKTEX, // Asger 971030
|
||||
// 190
|
||||
LFUN_TOGGLECURSORFOLLOW, // ARRae 971202
|
||||
LFUN_HTMLURL, // CFO-G 971121
|
||||
// 190
|
||||
LFUN_URL, // CFO-G 971121
|
||||
LFUN_WORDFINDFORWARD, // Etienne 980216
|
||||
LFUN_WORDFINDBACKWARD, // Etienne 980220
|
||||
// 195
|
||||
LFUN_APPENDIX, // ettrich 980505
|
||||
LFUN_IMPORT, // Asger 980724
|
||||
// 195
|
||||
LFUN_MENU_SEPARATOR, // Asger 990220
|
||||
LFUN_SEQUENCE, // Andre' 991111
|
||||
LFUN_DIALOG_PREFERENCES, // ARRae 20000726
|
||||
// 200
|
||||
LFUN_SAVEPREFERENCES, // Lgb 991127
|
||||
LFUN_HELP_OPEN, // Jug 990627
|
||||
// 200
|
||||
LFUN_DATE_INSERT, // jdblair 20000131
|
||||
LFUN_LANGUAGE, // Dekel 20000203
|
||||
LFUN_INSET_ERT, // Jug 20000218
|
||||
// 205
|
||||
LFUN_INSET_FOOTNOTE, // Jug 20000307
|
||||
LFUN_PARAGRAPH_SPACING, // Lgb 20000411
|
||||
// 205
|
||||
LFUN_TABULAR_INSERT, // Jug 20000412
|
||||
LFUN_LOFVIEW, // Dekel 20000519
|
||||
LFUN_LOTVIEW, // Dekel 20000519
|
||||
// 210
|
||||
LFUN_LOAVIEW, // Dekel 20000519
|
||||
LFUN_SET_COLOR, // SLior 20000611
|
||||
// 210
|
||||
LFUN_INSET_MARGINAL, // Lgb 20000626
|
||||
LFUN_INSET_MINIPAGE, // Lgb 20000627
|
||||
LFUN_INSET_FLOAT, // Lgb 20000627
|
||||
// 215
|
||||
LFUN_INSET_WIDE_FLOAT, // Lgb 20010531
|
||||
LFUN_INSET_CAPTION, // Lgb 20000718
|
||||
// 215
|
||||
LFUN_SWITCHBUFFER,
|
||||
LFUN_TABULAR_FEATURE, // Jug 20000728
|
||||
LFUN_LAYOUT_TABULAR, // Jug 20000731
|
||||
// 220
|
||||
LFUN_SCROLL_INSET, // Jug 20000801
|
||||
LFUN_UPDATE, // Dekel 20000805
|
||||
// 220
|
||||
LFUN_INDEX_INSERT, // Angus 20000803
|
||||
LFUN_SCREEN_FONT_UPDATE, // ARRae 20000813
|
||||
LFUN_GOTO_PARAGRAPH, // Dekel 20000826
|
||||
// 225
|
||||
LFUN_REFERENCE_GOTO, // Dekel 20010114
|
||||
LFUN_BOOKMARK_SAVE, // Dekel 20010127
|
||||
// 225
|
||||
LFUN_BOOKMARK_GOTO, // Dekel 20010127
|
||||
LFUN_SELECT_FILE_SYNC, // Levon 20010214
|
||||
LFUN_MESSAGE, // Lgb 20010408
|
||||
// 230
|
||||
LFUN_TRANSPOSE_CHARS, // Lgb 20010425
|
||||
LFUN_ESCAPE, // Lgb 20010517
|
||||
// 230
|
||||
LFUN_HELP_ABOUTLYX, // Edwin 20010712
|
||||
LFUN_THESAURUS_ENTRY, // Levon 20010720
|
||||
LFUN_HELP_TEXINFO, // Herbert 20011001
|
||||
// 235
|
||||
LFUN_FORKS_SHOW, // Angus 16 Feb 2002
|
||||
LFUN_FORKS_KILL, // Angus 16 Feb 2002
|
||||
// 235
|
||||
LFUN_TOOLTIPS_TOGGLE, // Angus 8 Mar 2002
|
||||
LFUN_INSET_OPTARG, // Martin 12 Aug 2002
|
||||
LFUN_MOUSE_PRESS, // André 9 Aug 2002
|
||||
// 240
|
||||
LFUN_MOUSE_MOTION, // André 9 Aug 2002
|
||||
LFUN_MOUSE_RELEASE, // André 9 Aug 2002
|
||||
// 240
|
||||
LFUN_MOUSE_DOUBLE, // André 9 Aug 2002
|
||||
LFUN_MOUSE_TRIPLE, // André 9 Aug 2002
|
||||
// 245
|
||||
LFUN_EDIT, // André 16 Aug 2002
|
||||
LFUN_INSET_WRAP, // Dekel 7 Apr 2002
|
||||
LFUN_TRACK_CHANGES, // Levon 20021001 (cool date !)
|
||||
// 245
|
||||
LFUN_MERGE_CHANGES, // Levon 20021016
|
||||
LFUN_ACCEPT_CHANGE, // Levon 20021016
|
||||
// 250
|
||||
LFUN_REJECT_CHANGE, // Levon 20021016
|
||||
LFUN_ACCEPT_ALL_CHANGES, // Levon 20021016
|
||||
LFUN_REJECT_ALL_CHANGES, // Levon 20021016
|
||||
// 250
|
||||
LFUN_INSERT_BIBITEM, // André 14 Feb 2003
|
||||
LFUN_DIALOG_SHOW_NEW_INSET,
|
||||
// 255
|
||||
LFUN_DIALOG_SHOW_NEXT_INSET,
|
||||
LFUN_DIALOG_UPDATE,
|
||||
LFUN_DIALOG_HIDE,
|
||||
// 255
|
||||
LFUN_DIALOG_DISCONNECT_INSET,
|
||||
LFUN_INSET_APPLY,
|
||||
// 260
|
||||
LFUN_INSET_INSERT,
|
||||
LFUN_INSET_MODIFY,
|
||||
LFUN_INSET_DIALOG_UPDATE,
|
||||
// 260
|
||||
LFUN_PARAGRAPH_APPLY,
|
||||
LFUN_PARAGRAPH_UPDATE,
|
||||
// 265
|
||||
|
||||
LFUN_LASTACTION // end of the table
|
||||
};
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-03-28 John Levon <levon@movementarian.org>
|
||||
|
||||
* formulabase.C: remove LFUN_GREEK - does nothing
|
||||
|
||||
2003-03-19 John Levon <levon@movementarian.org>
|
||||
|
||||
* formulabase.h:
|
||||
|
@ -1021,7 +1021,6 @@ void mathDispatch(FuncRequest const & cmd)
|
||||
}
|
||||
break;
|
||||
|
||||
case LFUN_GREEK:
|
||||
case LFUN_INSERT_MATH:
|
||||
case LFUN_INSERT_MATRIX:
|
||||
case LFUN_MATH_DELIM: {
|
||||
|
Loading…
Reference in New Issue
Block a user