lyx_mirror/src/insets
Jean-Marc Lasgouttes a48581f48c Linearize macros in box edit mode too.
The special mode used by macros where the macro name is displayed as
grey text in a box is now one of the possible marker types for any
inset. The new code puts the macro name below the text, which means
that only the text below the current line will be moved. This makes
edition much more comfortable. The grey border around the contents has
been removed too.

The marker_type enum has been moved from Inset to InsetMath. A
markerMargin() function returns the horizontal margin required on each
side for the marker. Only the corner-type markers MARKER and MARKER2
need some.

A new BOX_MARKER enum value has been added and is taken care of in
afterMetricsMarkers (renamed from metricsMarkerVertical) and
drawMarkers.

The InsetMath::marker() macro now takes a BufferView pointer as
argument, so that the marker type can depend on editing state.

MathRow::metrics now makes changes to the MathRow object when needed.

The specific metrics/draw code in MathMacro has been removed and
replaced by assertions. Code in addToMathRow and marker is adapted to
reflect the cases where linearization is possible.
2017-03-23 10:17:07 +01:00
..
CMakeLists.txt
ExternalSupport.cpp Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
ExternalSupport.h Rationalise includes 2016-07-04 02:42:17 +02:00
ExternalTemplate.cpp Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
ExternalTemplate.h Docstringify getLongString in general and preamble snippets in particular 2016-10-17 00:16:59 +02:00
ExternalTransforms.cpp Fix embarrassing logic mistake 2016-08-03 22:17:26 +01:00
ExternalTransforms.h Simplifications, mainly removal of boost::function and useless std::bind 2016-07-03 01:39:32 +02:00
Inset.cpp Implement AddToToc layout command for Flex insets 2017-01-09 18:22:22 +01:00
Inset.h Linearize macros in box edit mode too. 2017-03-23 10:17:07 +01:00
InsetArgument.cpp Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetArgument.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetBibitem.cpp Extend LATEXIFY command param handling and add literal param. 2017-01-30 07:44:55 +01:00
InsetBibitem.h Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
InsetBibtex.cpp Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
InsetBibtex.h Biblatex support 2017-01-08 09:39:46 +01:00
InsetBox.cpp Rationalise includes 2016-07-04 02:42:17 +02:00
InsetBox.h
InsetBranch.cpp Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetBranch.h Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetCaption.cpp Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetCaption.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetCaptionable.cpp Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetCaptionable.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetCitation.cpp Fix coverity false positive 2017-03-01 16:42:28 +01:00
InsetCitation.h Extend LATEXIFY command param handling and add literal param. 2017-01-30 07:44:55 +01:00
InsetCode.h Add support for \mathbin and friends 2016-11-16 15:21:53 +01:00
InsetCollapsable.cpp Improve mouse selection over InsetCollapsable button. 2017-02-18 23:03:54 +01:00
InsetCollapsable.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetCommand.cpp Check if literal param exists before querying value. 2017-01-30 08:27:53 +01:00
InsetCommand.h Extend LATEXIFY command param handling and add literal param. 2017-01-30 07:44:55 +01:00
InsetCommandParams.cpp Add option to ignore a parameter in InsetCommandParams 2017-03-11 00:50:57 +01:00
InsetCommandParams.h Add option to ignore a parameter in InsetCommandParams 2017-03-11 00:50:57 +01:00
InsetERT.cpp
InsetERT.h
InsetExternal.cpp Only accept non-negative lyxscale parameters 2017-03-14 14:25:08 +01:00
InsetExternal.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetFlex.cpp Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetFlex.h Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetFloat.cpp Add safe line breaks to improve TexRow precision in subfloat & caption 2016-10-22 23:05:44 +02:00
InsetFloat.h Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
InsetFloatList.cpp Rationalise includes 2016-07-04 02:42:17 +02:00
InsetFloatList.h
InsetFoot.cpp Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetFoot.h Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetFootlike.cpp
InsetFootlike.h
InsetGraphics.cpp Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
InsetGraphics.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetGraphicsParams.cpp
InsetGraphicsParams.h
InsetHyperlink.cpp Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
InsetHyperlink.h
InsetInclude.cpp Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
InsetInclude.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetIndex.cpp Extend LATEXIFY command param handling and add literal param. 2017-01-30 07:44:55 +01:00
InsetIndex.h Extend LATEXIFY command param handling and add literal param. 2017-01-30 07:44:55 +01:00
InsetInfo.cpp
InsetInfo.h
InsetIPA.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetIPA.h Force local language switch in IPA insets 2016-09-29 18:35:26 +02:00
InsetIPAMacro.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetIPAMacro.h
InsetLabel.cpp Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetLabel.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetLayout.cpp Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
InsetLayout.h
InsetLine.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetLine.h Now Inset::dimension is only an access to cache 2016-12-06 09:52:17 +01:00
InsetListings.cpp Enable InsetQuote in verbatim and Hebrew 2016-12-10 11:53:42 +01:00
InsetListings.h Enable InsetQuote in verbatim and Hebrew 2016-12-10 11:53:42 +01:00
InsetListingsParams.cpp Another forgotten unreachable `return' that is not needed 2017-03-14 14:46:02 +01:00
InsetListingsParams.h
InsetMarginal.cpp Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetMarginal.h Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetNewline.cpp Rationalise includes 2016-07-04 02:42:17 +02:00
InsetNewline.h
InsetNewpage.cpp context-sensitive command termination at some more places. 2016-12-16 10:20:25 +01:00
InsetNewpage.h
InsetNomencl.cpp Extend LATEXIFY command param handling and add literal param. 2017-01-30 07:44:55 +01:00
InsetNomencl.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetNote.cpp Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetNote.h Remove some hardcoded addToToc: note, footnote, marginalnote, branch 2017-01-09 18:27:26 +01:00
InsetPhantom.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetPhantom.h Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetPreview.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetPreview.h Change tracking cue: for instant preview 2016-07-03 17:28:47 +02:00
InsetQuotes.cpp Initialize properly several InsetQuote members 2017-03-01 17:02:20 +01:00
InsetQuotes.h Tweaks to the quotes GUI 2017-01-05 14:25:36 +01:00
InsetRef.cpp Whitespace 2017-01-28 13:00:33 +01:00
InsetRef.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetScript.cpp
InsetScript.h
InsetSeparator.cpp Fix bug #10579 2017-03-03 13:00:32 +01:00
InsetSeparator.h
InsetSpace.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetSpace.h
InsetSpecialChar.cpp Fix broken logic 2017-03-01 16:36:46 +01:00
InsetSpecialChar.h Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
InsetTabular.cpp Tabular::editXY should not touch the selection 2017-03-05 08:45:52 +01:00
InsetTabular.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetText.cpp Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetText.h Generalise the deletion protection mechanism from math to text (#9540) 2017-02-18 23:03:23 +01:00
InsetTOC.cpp
InsetTOC.h
InsetVSpace.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetVSpace.h
InsetWrap.cpp Rationalise includes 2016-07-04 02:42:17 +02:00
InsetWrap.h Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
RenderBase.h
RenderButton.cpp
RenderButton.h
RenderGraphic.cpp Regularly check if graphics is modified when visible on screen (#10596) 2017-03-19 14:41:54 +01:00
RenderGraphic.h
RenderPreview.cpp Regularly check if preview is modified when visible on screen 2017-03-19 14:41:54 +01:00
RenderPreview.h Regularly check if preview is modified when visible on screen 2017-03-19 14:41:54 +01:00