lyx_mirror/src/insets
Abdelrazak Younes 237c132c1e * Inset:
- get rid of the cached Dimension. Text inset dimensions are saved in ParagraphMetrics and mathed maintain their own dimension where needed.
- width(), ascent(), descent(): deleted.
- dimension(): now needs a valid BufferView.
- metrics(): now void.

* BufferView::getCoveringInset(): simplify.

* ParagraphMetrics(): now cache inset dimensions.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20420 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:39:47 +00:00
..
ChangeLog rename LCursor->Cursor 2007-04-26 14:56:30 +00:00
ExternalSupport.cpp Remove warnings reported with gcc 4.3: 2007-09-16 10:36:57 +00:00
ExternalSupport.h
ExternalTemplate.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
ExternalTemplate.h rename LyXLex into Lexer 2007-04-26 11:30:54 +00:00
ExternalTransforms.cpp Rename three remaining .C files 2007-04-26 05:18:04 +00:00
ExternalTransforms.h rename/merge LyXLength related stuff 2007-04-28 12:58:49 +00:00
Inset.cpp * Inset: 2007-09-21 20:39:47 +00:00
Inset.h * Inset: 2007-09-21 20:39:47 +00:00
InsetBibitem.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetBibitem.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetBibtex.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetBibtex.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetBox.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetBox.h * Inset: 2007-09-21 20:39:47 +00:00
InsetBranch.cpp Final touch on minimalistic branches 2007-09-02 08:38:09 +00:00
InsetBranch.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetCaption.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetCaption.h * Inset: 2007-09-21 20:39:47 +00:00
InsetCitation.cpp Indentation fix. 2007-09-20 06:22:07 +00:00
InsetCitation.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetCollapsable.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetCollapsable.h * Inset: 2007-09-21 20:39:47 +00:00
InsetCommand.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetCommand.h * Inset: 2007-09-21 20:39:47 +00:00
InsetCommandParams.cpp remove unnecessary includes 2007-09-11 21:43:55 +00:00
InsetCommandParams.h Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog. 2007-05-09 19:11:42 +00:00
InsetEnvironment.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetEnvironment.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetERT.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetERT.h * Inset: 2007-09-21 20:39:47 +00:00
InsetExternal.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetExternal.h * Inset: 2007-09-21 20:39:47 +00:00
InsetFlex.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetFlex.h * Inset: 2007-09-21 20:39:47 +00:00
InsetFloat.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetFloat.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetFloatList.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
InsetFloatList.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetFoot.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetFoot.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetFootlike.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetFootlike.h * Inset: 2007-09-21 20:39:47 +00:00
InsetGraphics.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetGraphics.h * Inset: 2007-09-21 20:39:47 +00:00
InsetGraphicsParams.cpp Embedding: add a check box to InsetGraphic and show/change embedding status 2007-09-15 18:31:32 +00:00
InsetGraphicsParams.h Embedding: add a check box to InsetGraphic and show/change embedding status 2007-09-15 18:31:32 +00:00
InsetHFill.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetHFill.h * Inset: 2007-09-21 20:39:47 +00:00
InsetInclude.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetInclude.h * Inset: 2007-09-21 20:39:47 +00:00
InsetIndex.cpp make index label translatable 2007-09-16 14:43:10 +00:00
InsetIndex.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetLabel.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetLabel.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetLine.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetLine.h * Inset: 2007-09-21 20:39:47 +00:00
InsetListings.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetListings.h * Inset: 2007-09-21 20:39:47 +00:00
InsetListingsParams.cpp Remove warnings reported with gcc 4.3: 2007-09-16 10:36:57 +00:00
InsetListingsParams.h Add bypass validation checkboxes to listings related dialogs 2007-06-12 17:10:28 +00:00
InsetMarginal.cpp compil fix. 2007-08-30 22:30:14 +00:00
InsetMarginal.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetNewline.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetNewline.h * Inset: 2007-09-21 20:39:47 +00:00
InsetNomencl.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
InsetNomencl.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetNote.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetNote.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetOptArg.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetOptArg.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetPagebreak.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetPagebreak.h * Inset: 2007-09-21 20:39:47 +00:00
InsetQuotes.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetQuotes.h * Inset: 2007-09-21 20:39:47 +00:00
InsetRef.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
InsetRef.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetSpace.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetSpace.h * Inset: 2007-09-21 20:39:47 +00:00
InsetSpecialChar.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetSpecialChar.h * Inset: 2007-09-21 20:39:47 +00:00
InsetTabular.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetTabular.h * Inset: 2007-09-21 20:39:47 +00:00
InsetText.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetText.h * Inset: 2007-09-21 20:39:47 +00:00
InsetTheorem.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetTheorem.h * Inset: 2007-09-21 20:39:47 +00:00
InsetTOC.cpp use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetTOC.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetUrl.cpp Whitespace cleanup 2007-05-28 22:27:45 +00:00
InsetUrl.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
InsetVSpace.cpp * Inset: 2007-09-21 20:39:47 +00:00
InsetVSpace.h * Inset: 2007-09-21 20:39:47 +00:00
InsetWrap.cpp Helge's wrapfig patch: 2007-09-09 23:47:22 +00:00
InsetWrap.h use bald pointers in clone() 2007-08-30 18:03:17 +00:00
MailInset.cpp * BufferView::buffer() returns a reference instead of a pointer. 2007-08-21 13:03:55 +00:00
MailInset.h rename InsetBase to Inset 2007-04-29 13:39:47 +00:00
RenderBase.h * Inset: 2007-09-21 20:39:47 +00:00
RenderButton.cpp * Inset: 2007-09-21 20:39:47 +00:00
RenderButton.h * Inset: 2007-09-21 20:39:47 +00:00
RenderGraphic.cpp * Inset: 2007-09-21 20:39:47 +00:00
RenderGraphic.h * Inset: 2007-09-21 20:39:47 +00:00
RenderPreview.cpp * Inset: 2007-09-21 20:39:47 +00:00
RenderPreview.h * Inset: 2007-09-21 20:39:47 +00:00