Lars Gullik Bjønnes
9d6cad3fe6
* output_latex.h:
...
* buffer.h:
* CutAndPaste.h:
* pariterator.h:
* paragraph_funcs.h:
* output_linuxdoc.h:
* output_docbook.h:
* insets/insettext.h: get forward declaration of ParagraphList
* output_plaintext.C:
* bufferlist.C:
* undo.C:
* lyxtext.h:
* undo.h:
* buffer_funcs.C:
* insets/insetbibitem.C: get proper ParagraphList decls
* output_linuxdoc.C (linuxdocParagraphs):
* output_latex.C (TeXOnePar):
* insets/insettext.C (appendParagraphs):
* insets/insetcharstyle.C (docbook): use std::distance
* CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
* paragraph_funcs.C (breakParagraph,
breakParagraphConservative, mergeParagraph):
* text.C (acceptChange, rejectChange):
* text2.C (deleteEmptyParagraphMechanism): use boost::next
* output_docbook.C (several places): use boost::next and
std::distance
* ParagraphList_fwd.h: modify to provid a forward declaratoin
of the new ParagraphList.
* RandomAccessList.h: New container for Paragraphs from
Abdelrazak Younes
* ParagraphList.h: new file, setup user of RandomAccessList
* paragraph.C: remove ParagraphList constructor from this file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:11:06 +00:00
Lars Gullik Bjønnes
6719871884
avoid deref of past the end iter
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10203 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 11:14:08 +00:00
Angus Leeming
19a1d8bc10
Add the bibitemWidest declaration to insetbibitem.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9532 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-23 16:36:36 +00:00
Angus Leeming
7b0a35adf0
Prevent crash when outputting latex file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9506 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-20 11:44:20 +00:00
Angus Leeming
68b0cca2e7
Whitespace, only whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9314 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-26 14:52:54 +00:00
Jean-Marc Lasgouttes
6ae4dc23f4
allow more than one optional inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9272 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-19 16:17:52 +00:00
Jean-Marc Lasgouttes
3d9f2089dd
propagate the need_protect property to optional insets (bug 1739)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9249 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-15 13:39:06 +00:00
Angus Leeming
e978fa42e3
Whitespace, only whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
Jean-Marc Lasgouttes
21f14a3a3e
make sure language commands are the outermost ones when typesetting a paragraph (bug 1404)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9020 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-28 13:29:19 +00:00
Georg Baum
db707dab04
remove now unnecessary const casts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8757 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-17 11:28:31 +00:00
Jean-Marc Lasgouttes
de3c8e5b80
fix arabtex-related problems (bug 1225 and bug 1404)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8692 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-22 13:59:39 +00:00
André Pönitz
2bdaf96dfb
the Paragraph::inInset() changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8632 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 15:03:33 +00:00
André Pönitz
0d43ba149a
the stuff from the sneak preview:
...
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).
Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.
I had an extensive talk with my profiler and we are happy nevertheless.
This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now lyx::cap::. Was inconsistent with the rest....
Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.
Remove some unneeded prototypes and function declarations
Use ParameterStruct directly instead of ShareContainer<ParameterStruct>
Inline a few accesses to CursorSlice members as suggested by the profiler.
Fix commandline conversion crash reported by Kayvan.
Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...
Remove math specific hack from Documentiterator
Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.
Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.
Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
André Pönitz
5198e1d9a3
The Buffer::LyXText -> Buffer::InsetText patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8498 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 12:53:43 +00:00
André Pönitz
ec4ab8ce18
revert Buffer LyxText->InsetText commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8489 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 17:16:38 +00:00
André Pönitz
1b3f5ee46f
the Buffer::text -> inset change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8488 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 16:09:42 +00:00
André Pönitz
2a5bc90633
bug + spped fixes + small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8421 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-11 14:45:44 +00:00
André Pönitz
1eaa3eb913
more IU
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8371 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 10:13:15 +00:00
André Pönitz
8fa8cfb4a3
remove Inset::getParagraphs()
...
cache 'outermost' inset font
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8192 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 18:17:20 +00:00
André Pönitz
7de76711b1
move space above/below from Paragraph into a separate vspace inset.
...
Gui interaction mailer stuff by Angus...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
Martin Vermeer
af37f0d23e
Introducing a number of tags parametrizing various
...
XML formats that we may want to support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8137 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 17:23:36 +00:00
José Matox
cd424d7853
Rename ascii to plaintext and LatexRunParams to OutputParams.
...
Create new files for each output format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8046 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 12:06:20 +00:00