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 Implement on screen rendering of alignment in LR boxes. 2015-11-23 11:40:36 +01:00
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 Pass a BufferView to Inset::clickable 2016-05-28 17:43:01 -04:00
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 Revert "InsetFootlike.cpp: disable listings inside footnotes" 2015-12-07 01:52:11 -05:00
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 Remove variables set but not used 2016-05-29 17:55:46 -04:00
InsetGraphicsParams.h Do not apply \origin at existing files 2016-01-10 19:46:01 +01:00
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 Fix bug #9898: inset info cannot show specified icon 2015-12-11 08:51:37 +01:00
InsetInfo.h Fix bug #9898: inset info cannot show specified icon 2015-12-11 08:51:37 +01:00
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 Layout format update: AddToToc, IsTocCaption, OutlinerName 2015-12-13 19:56:49 +00:00
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 RefChanger 2016-06-13 08:46:15 +01:00
InsetScript.h Cleanup handling of LFUN_LAYOUT_PARAGRAPH in getStatus 2016-05-29 17:55:46 -04:00
InsetSeparator.cpp Fix bug #10579 2017-03-03 13:00:32 +01:00
InsetSeparator.h Allow inset-forall to match separators (#10090) 2016-05-17 00:48:26 +01:00
InsetSpace.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetSpace.h Pass a BufferView to Inset::clickable 2016-05-28 17:43:01 -04:00
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 Simplify class structure in TocBackend 2016-05-29 17:55:42 -04:00
InsetVSpace.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetVSpace.h Pass a BufferView to Inset::clickable 2016-05-28 17:43:01 -04:00
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 Remove extra spacing around InsetCommand buttons 2016-05-29 17:55:46 -04:00
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