lyx_mirror/src/insets
Jean-Marc Lasgouttes 02028c0b12 Move some Cursor methods to CursorData
Basically, everything that does not depend on a BufferView should move
there. Some methods that do not seem to need a BufferView, like
selHandle or IdxFirst or push actually depend on it and could not be
moved.

This allows to simplify a few uses of recordUndo helpers.

- Move some methods to DocIterator: nextMath, prevMath, getPossibleLabel,
  getEncoding;

- Move some methods to CursorData: setCursor, setCursorSelectionTo,
  (setCursorTo|normal|reset)Anchor, (set|clear)Selection,
  sel(|ection)(Begin|End), selectionAsString, info, currentState,
  (mark|clear|check)NewWordPosition, fixIfBroken, sanitize, all undo
  related methods, reset, isInside, leaveInset, current mode;

- kill some unused methods: macromode, replaceWord, setScreenPos, touch,
  markInsert, markErase;

- Move code around to group things, and add a few comments (a lot remains to be done).

This changes lead to some related changes in other classes: removal,
change of parameter.

No intended change.
2017-10-25 16:20:27 +02:00
..
CMakeLists.txt
ExternalSupport.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
ExternalSupport.h
ExternalTemplate.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
ExternalTemplate.h
ExternalTransforms.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
ExternalTransforms.h
Inset.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
Inset.h Do not scan BibTeX files multiple times in a collectBibKeys() procedure. 2017-10-18 09:20:31 +02:00
InsetArgument.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetArgument.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetBibitem.cpp Implement ParamInfo::HANDLING_LTRIM and use it to ltrim InsetBibitem 2017-10-23 08:20:58 +02:00
InsetBibitem.h Do not scan BibTeX files multiple times in a collectBibKeys() procedure. 2017-10-18 09:20:31 +02:00
InsetBibtex.cpp Do not scan BibTeX files multiple times in a collectBibKeys() procedure. 2017-10-18 09:20:31 +02:00
InsetBibtex.h Do not scan BibTeX files multiple times in a collectBibKeys() procedure. 2017-10-18 09:20:31 +02:00
InsetBox.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetBox.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetBranch.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetBranch.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetCaption.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetCaption.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetCaptionable.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetCaptionable.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetCitation.cpp We do not want to trim whitespace in the fallback, either. 2017-10-19 10:15:03 -04:00
InsetCitation.h Revert "Add possibility for command inset to inherit enclosing font" 2017-05-24 11:25:14 +02:00
InsetCode.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetCollapsible.cpp Do not add deleted text to inset button label. 2017-10-22 19:08:10 +02:00
InsetCollapsible.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetCommand.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetCommand.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetCommandParams.cpp Implement ParamInfo::HANDLING_LTRIM and use it to ltrim InsetBibitem 2017-10-23 08:20:58 +02:00
InsetCommandParams.h Implement ParamInfo::HANDLING_LTRIM and use it to ltrim InsetBibitem 2017-10-23 08:20:58 +02:00
InsetERT.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetERT.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetExternal.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetExternal.h Properly track the lifetime of signals2::slots (#8261) 2017-06-11 19:51:17 +02:00
InsetFlex.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetFlex.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetFloat.cpp Mark some intentional fall-throughs (in a way understandable to gcc) 2017-08-12 09:06:29 +02:00
InsetFloat.h Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
InsetFloatList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetFloatList.h
InsetFoot.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetFoot.h Revert 3ceb5034 2017-05-25 19:09:50 +02:00
InsetFootlike.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetFootlike.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetGraphics.cpp Move some Cursor methods to CursorData 2017-10-25 16:20:27 +02:00
InsetGraphics.h Fix PDF output of clipped graphics with recent graphics package 2017-10-12 15:38:59 +02:00
InsetGraphicsParams.cpp
InsetGraphicsParams.h
InsetHyperlink.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetHyperlink.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetInclude.cpp Do not scan BibTeX files multiple times in a collectBibKeys() procedure. 2017-10-18 09:20:31 +02:00
InsetInclude.h Do not scan BibTeX files multiple times in a collectBibKeys() procedure. 2017-10-18 09:20:31 +02:00
InsetIndex.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetIndex.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetInfo.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetInfo.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetIPA.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetIPA.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetIPAMacro.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetIPAMacro.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetLabel.cpp Move some Cursor methods to CursorData 2017-10-25 16:20:27 +02:00
InsetLabel.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetLayout.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetLayout.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04: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 Mark some intentional fall-throughs (in a way understandable to gcc) 2017-08-12 09:06:29 +02:00
InsetListings.h Collapsable -> Collapsible (part 1) 2017-10-16 10:03:05 +02:00
InsetListingsParams.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetListingsParams.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
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 Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetNewline.h
InsetNewpage.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetNewpage.h
InsetNomencl.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetNomencl.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetNote.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetNote.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetPhantom.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetPhantom.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetPreview.cpp Get rid of Inset::setDimCache 2016-12-06 16:15:47 +01:00
InsetPreview.h Fix #9732: Inconsistent font properties for the preview and superscript insets 2017-03-27 15:00:43 +02:00
InsetQuotes.cpp Require textquotedbl def with second language that has internal fontenc 2017-08-10 11:47:52 +02:00
InsetQuotes.h Require textquotedbl def with second language that has internal fontenc 2017-08-10 11:47:52 +02:00
InsetRef.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetRef.h Revert "Add possibility for command inset to inherit enclosing font" 2017-05-24 11:25:14 +02:00
InsetScript.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
InsetScript.h Fix #9732: Inconsistent font properties for the preview and superscript insets 2017-03-27 15:00:43 +02:00
InsetSeparator.cpp Fix bug #10579 2017-03-03 13:00:32 +01:00
InsetSeparator.h
InsetSpace.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetSpace.h
InsetSpecialChar.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetSpecialChar.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetTabular.cpp Mark some intentional fall-throughs (in a way understandable to gcc) 2017-08-12 09:06:29 +02:00
InsetTabular.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
InsetText.cpp Rename Paragraph::setBuffer to Paragraph::setInsetBuffers, to avoid 2017-10-16 15:48:47 -04:00
InsetText.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetTOC.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetTOC.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetVSpace.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetVSpace.h
InsetWrap.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
InsetWrap.h Improve quotation mark opening/closing guess 2016-12-27 12:06:54 +01:00
RenderBase.h
RenderButton.cpp Use the same code for editable and non-editable buttons 2017-06-15 15:40:30 +02:00
RenderButton.h Let command inset honor inheritFont() on screen 2017-05-24 11:33:52 +02:00
RenderGraphic.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
RenderGraphic.h
RenderPreview.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
RenderPreview.h Properly track the lifetime of signals2::slots (#8261) 2017-06-11 19:51:17 +02:00