* src/lyxfont.C
(LyXFont::lyxWriteChanges): Don't change color "inherit" to
"default", since that cannot be read in.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15655 a592a061-630c-0410-9148-cb99ea01b6c8
(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
deleting empty paragraphs even when keepempty is true. Do not rely
on dEPM, since this was silly (bugs 2587 and 2882)
(Delete): simplify also and avoid calling backspace.
(backspace): small tweak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15547 a592a061-630c-0410-9148-cb99ea01b6c8
* QDocumentDialog.C (updateNumbering): don't include headings
that have no counter in their label.
* ui/NumberingModuleBase.ui: show scrollbar when appropriate.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15351 a592a061-630c-0410-9148-cb99ea01b6c8
(readInset): Add comment about citation commands
* src/tex2lyx/text.C
(known_jurabib_commands): remove fullcite
since LyX does not know it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15350 a592a061-630c-0410-9148-cb99ea01b6c8
* buffer.[Ch] (changeRefsIfUnique): extend to handle bibitems
as well (the function takes a InsetCode argument now) [bug 2744];
clean up by using InsetIterator.
* math_hullinset.C (doDispatch): changeRefsIfUnique needs a
InsetCode argument now (bug 2744).
* insetlabel (doDispatch): changeRefsIfUnique needs a
InsetCode argument now.
* insetbibitem (doDispatch): use changeRefsIfUnique
(actual fix for bug 2744).
* insetcommand.[Ch]:
* insetcite.[Ch]: implement replaceContents, which is
used by changeRefsIfUnique.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15282 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
(only on windows).
* src/frontends/Dialogs.C
(Dialogs::hide): Don't send the signal if we are quitting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15115 a592a061-630c-0410-9148-cb99ea01b6c8
over the cells to apply LFUN_EMPH and friends.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15100 a592a061-630c-0410-9148-cb99ea01b6c8
* src/buffer.C
(Buffer::readFile): Only call updateDocLang if reading the file
succeeded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15093 a592a061-630c-0410-9148-cb99ea01b6c8
* src/CutAndPaste.C (pasteSelectionHelper): pass Cursor
as argument, remove cursor-dependent arguments,
implement method to reset layout in insets which
forceParagraphsToDefault.
* CutAndPaste.C (pasteParagraphList): adapt call of
pasteSelectionHelper.
* insetert.C (doDispatch):
* insetcharstyle.C (doDispatch): remove ad-hoc-Code to
reset paragraph layout.
This is now done generally in CutAndPaste.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15061 a592a061-630c-0410-9148-cb99ea01b6c8