André Pönitz
da65e2b7fb
rename LFUN enum values according to their command (as used in th minibuffer/bind files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13801 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 20:23:12 +00:00
Lars Gullik Bjønnes
3b9338a3a8
Whitespace cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Jean-Marc Lasgouttes
16c957358a
incluse boost/current_function.hpp when needed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10482 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 09:20:15 +00:00
Jean-Marc Lasgouttes
b0dd800145
make sure inserting a tabular invokes a dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10246 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 15:33:49 +00:00
André Pönitz
282f86fbb1
send UpdatableInset down the way of the Dodo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10228 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 22:10:25 +00:00
Lars Gullik Bjønnes
9abff568e6
reduce some debug output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10178 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 08:20:10 +00:00
Jean-Marc Lasgouttes
61c245ca32
fix bug 1892 (cursor moves when inserting index or tabular)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9984 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-30 15:35:11 +00:00
Georg Baum
674038dc8c
undefined charstyle fixes from Martin and me
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9903 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-04 11:21:14 +00:00
Lars Gullik Bjønnes
d20f0af816
some nicer margins and some small cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8925 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 15:55:22 +00:00
Lars Gullik Bjønnes
7c15014ec2
change "support/std_sstream.h" to <sstream>
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8849 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 10:55:30 +00:00
Angus Leeming
12ac7f339e
Ensure all #warning statements are wrapped by #ifdef WITH_WARNINGS.
...
Jean-Marc this is HEAD, not 1.3.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8711 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 14:49:02 +00:00
Angus Leeming
c4762f9452
Whitespace, only whitespace...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8682 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-20 08:51:15 +00:00
André Pönitz
0ea524145a
partial revert of macro stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8648 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 13:54:58 +00:00
André Pönitz
b447408de2
macro rework
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8644 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 06:27:29 +00:00
Lars Gullik Bjønnes
68b7ef25fb
simple ws changes only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8594 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-03 08:37:12 +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
4bcfc43c29
IU stuff + shuffling things from BV::dispatch to LyXText::dispatch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8427 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 07:30:59 +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
ccc5d55764
Part of IU.
...
####################################################################
1.4.0cvs is now NOT fit for any serious use
####################################################################
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8363 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-20 14:25:24 +00:00
André Pönitz
70d0ba9001
the monster patch
...
mathed is completely broken, but it's difficult to imprevo with such a
big patch in the tree.
If things don't improve until tomorrow evening, I'll revert this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8357 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 17:34:44 +00:00
Jürgen Spitzmüller
038032fefd
Michael's latest minipage cleanup patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8282 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-29 13:55:45 +00:00
Angus Leeming
1cad117882
Overhaul the branches code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8247 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-14 16:33:56 +00:00
Jürgen Spitzmüller
83ceb3c57b
Minipage is no more (long live the box inset)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8246 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-14 13:47:40 +00:00
Angus Leeming
fd355bbb2f
Remove a whole heap of redundant functions from classes derived from
...
InsetCommand.
Clean-up many Mailer::string2params functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8233 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-11 15:23:15 +00:00
Angus Leeming
d43da3679e
Modify the InsetBox format to always start 'Box'.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8229 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:48:40 +00:00
Angus Leeming
c2d7777341
InsetNote clean-up.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8226 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 17:28:14 +00:00
André Pönitz
35f1ab544b
move 'Inline' state from InsetERT to InsetCollapsable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8177 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 07:15:42 +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
e8185081bc
Syntax change for CharStyles
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8147 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 10:12:04 +00:00
André Pönitz
6ff15cc813
Michael's open-close-patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8119 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 17:26:11 +00:00
Martin Vermeer
3bc54f0645
Fix insertion/modification of button-style insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8083 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 20:16:34 +00:00
Martin Vermeer
59fefa0759
The Character Style and XML short element inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8078 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-12 14:38:26 +00:00
Martin Vermeer
b171a9b6fb
Small step to solving 'impossible to insert some insets' problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8077 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 13:59:39 +00:00
André Pönitz
b0cffd9fc0
The deed is done.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8064 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:06:48 +00:00
Lars Gullik Bjønnes
c38370d1c3
the exception safety patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 17:47:28 +00:00
André Pönitz
69fae0531d
* lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
...
* factory.C: handle new InsetPagebreak, InsetLine
* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
and move handling into new InsetPagebreak, InsetLine
* BufferView_pimpl.C:
* LyXAction.C:
* ParagraphParameters.C:
* ParameterStruct.h:
* lyxfunc.C:
* lyxtext.h:
* paragraph.C:
* paragraph.h:
* paragraph_funcs.C:
* paragraph_pimpl.C:
* rowpainter.C:
* text.C:
* text2.C:
* text3.C: adjust
etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Angus Leeming
78046794cc
Add a Buffer::fully_loaded member function, returning true only when
...
the file has been loaded fully. Used to prevent the premature generation
of previews and by the citation inset to prevent computation of
the natbib-style label.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 13:15:18 +00:00
Alfredo Braunstein
5705714920
Fix bug 1323
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7918 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 12:49:15 +00:00
Angus Leeming
1e8ce61177
* Rename InsetExternal::Params as InsetExternalParams. Consistent with
...
other Params structs. Allows it to be forward delclared.
* Unclutter insetexternal.[Ch] by moving helper functions to new files
ExternalSupport.[Ch].
* Fix export to LaTeX and PDFLaTeX without breaking use of the temp dir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7874 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 20:25:10 +00:00
Martin Vermeer
800c0dfc38
The Box patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7865 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 07:42:15 +00:00
Lars Gullik Bjønnes
44cd0fc9a1
The std::string mammoth path.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
André Pönitz
25d50ae7f9
assert on unknown insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7847 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-01 16:27:36 +00:00
Martin Vermeer
100e323d04
Bug fix in branches (was earlier fixed wrongly)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7803 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-22 07:46:27 +00:00
Lars Gullik Bjønnes
08265598c5
some configure output changes, fix a new bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7798 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 16:02:54 +00:00
Angus Leeming
c319aee7c2
Fix InsetInclude properly. Data is now stored in an InsetCommandParams
...
var rather tahn that nasty kludge InsetInclude::Params. Functions
that need info about the Buffer are passed a 'Buffer const &' arg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7797 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 10:16:33 +00:00
Angus Leeming
fa837efdd6
Remove unused LColor::color framecolor variable from insetcollabsable.h
...
Remove #include "LColor.h" from insetcollabsable.h (final remaining instance).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7769 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:54:23 +00:00
Angus Leeming
57a24ea912
Replace 'using namespace abc;' with 'using abc::xyz;'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00