(by Georg and me)
* src/lfuns.h
(enum kb_action): New lfun LFUN_MATH_BIGDELIM
* src/LyXAction.C
(init): New lfun LFUN_MATH_BIGDELIM
* src/cursor.C
(macroModeClose): try to intepret the current macro before
it is simply inserted
* src/mathed/math_biginset.[Ch]
(name): implement
(isBigInsetDelim): new, test whether a given token is a valid
MathBigInset delimiter
(infoize2): implement to show name if the cursor is to the right
* src/mathed/math_biginset.C
(size): handle Big, bigg and Bigg
(increase): ditto
(draw): fix deco drawing
(write): don't write space before delimiter but append one if necessary
* src/mathed/math_factory.C
(createMathInset): handle l->inset == "big"
* src/mathed/math_parser.C
(asInput): return a token as input, stolen from tex2lyx
(parse1): create a MathBigInset when needed
* src/mathed/math_nestinset.C
(doDispatch): try to intepret the argument of LFUN_SELFINSERT also
if it is longer than one character
(doDispatch): remove debug message
(doDispatch): remove LFUN_MATH_DELIM test for multiple cells (now
in getStatus)
(doDispatch): handle LFUN_MATH_BIGDELIM
(getStatus): Disable LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM when
the selection spans multiple cells
* src/mathed/math_nestinset.[Ch]
(interpret): new, combine the previous math atom with the new
character to a MathBigInset if possible
* src/mathed/math_support.C
(deco_table): add lbrace and rbrace
* src/frontends/qt2/QDelimiterDialog.[Ch]
(fix_name, QDelimiterDialog, insertClicked, size_selected):
Allow for fixed size delimiters.
* src/frontends/qt2/ui/QDelimiterDialogBase.ui:
Added a combobox for selecting delimiter size.
* src/frontends/xforms/forms/form_maths_delim.fd: ditto
* src/frontends/xforms/FormMathsDelim.h:
Added a private variable to store selected delimiter size
* src/frontends/xforms/FormMathsDelim.C:
Correct entry in delim_rversion[] for matching braces.
(fix_name): new, return correct name for fixed size delimiter
(build, apply, update): allow for fixed size delimiters.
* src/frontends/gtk/GMathDelim.C: Add FIXME comment for fixed
size delimiters
* src/frontends/controllers/ControlMath.[Ch]:
Added dispatchBigDelim() to deal with fixed size delimiters.
* src/ParagraphParameters.C
(findToken): move from here
* src/support/lstrings.[Ch]
(findToken): to here
* src/text3.C
(dispatch): handle LFUN_MATH_BIGDELIM
(getStatus): ditto
* src/ToolbarBackend.C
(getIcon): handle LFUN_MATH_BIGDELIM
* lib/symbols: add MathBigInset symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15570 a592a061-630c-0410-9148-cb99ea01b6c8
* src/mathed/math_splitinset.C
(MathSplitInset::validate): Only require amsmath for AMS stuff
* src/mathed/math_factory.C
(createMathInset): create MathSplitInset if the latexkey is "split"
* src/mathed/math_parser.C
(Parser::parse1): create MathSplitInset if the latexkey is "split"
* lib/symbols: Add aligned, gathered, lgathered and rgathered
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15227 a592a061-630c-0410-9148-cb99ea01b6c8
revamp some math key bindings
add \boxed to the list of known things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4815 a592a061-630c-0410-9148-cb99ea01b6c8
So people who don't like the defaults can override them here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4598 a592a061-630c-0410-9148-cb99ea01b6c8