Lars Gullik Bjønnes
6a55be9506
tostr -> convert and some bformat work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Jean-Marc Lasgouttes
2aa786c652
fix some compiler warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9409 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-29 11:39:17 +00:00
Alfredo Braunstein
70bcd97d45
remove paragraph::autoBreakRows
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9397 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-17 16:27:12 +00:00
Alfredo Braunstein
a2cd656e25
CoordBranch merge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 01:59:49 +00:00
Lars Gullik Bjønnes
686f1e276f
InsetOld -> InsetBase renaming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9310 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 19:13:07 +00:00
Lars Gullik Bjønnes
59413be9a0
clone NVI, other small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9295 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-23 23:04:52 +00:00
Jean-Marc Lasgouttes
020972b7f9
get rid of Paragraph::isWord; ignore words with digits in spellchecker
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9268 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-18 14:58:54 +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
José Matox
1ecc7b79cd
Remove mixed_content from output parameters.
...
Escape ids to always produce legal output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9157 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-02 11:25:20 +00:00
José Matox
a059f47e59
Inside the same the same paragraph don't change CDATA status.
...
Don't output paragraphs inside inline elements (char styles). (docbook)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9151 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 22:14:02 +00:00
José Matox
3297d415dc
remove unused variable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9150 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 19:35:54 +00:00
José Matox
a590b1e0d2
Replace CDATA argument as innertag.
...
Use CDATA if environment requires PassThru.
The code now feels more natural, as there is one less exception.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9148 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 18:44:55 +00:00
José Matox
7c4c456090
Fix reference to CDATA. (docbook)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9146 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 18:08:19 +00:00
José Matox
876a495c6b
Make the standard paragraph an empty paragraph if its content allows it.
...
Fix bug 1708.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9143 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 13:05:31 +00:00
José Matox
8e27aa2fb7
Sanitize ids for SGML/XML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9142 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 23:08:04 +00:00
José Matox
b6263feca7
Fix description paragraph. (docbook)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9119 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 23:53:42 +00:00
José Matox
eb3d6435d1
Reorganized docbook export code and fixed several bugs in the process.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9114 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 00:02:39 +00:00
Martin Vermeer
a566db1d51
Implement use of babel language in xindy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9061 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-07 15:21:03 +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
José Matox
f17505a8fb
Remove space at end of line, when superfluous.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8953 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 11:27:51 +00:00
Jean-Marc Lasgouttes
e5c1dd967b
some profiler work, a few cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8942 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 16:52:44 +00:00
André Pönitz
b4b6c8b078
make all cached positions screen-absolute
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8936 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:56:40 +00:00
André Pönitz
edbef46cd7
move around stuff, remove unneeded declarations etc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8929 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 19:55:00 +00:00
Jean-Marc Lasgouttes
0786aa3247
fix problems with ] in optional latex arguments
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8919 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 23:30:26 +00:00
Lars Gullik Bjønnes
a4ea144c32
bug 1305
...
Make sure that we keep the language over a rebreak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8911 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 20:26:26 +00:00
Jean-Marc Lasgouttes
f8146681da
fix insertion of insets in non english doc; use native syntax for accellerators in lyx-qt
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8870 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-05 15:14:29 +00:00
Jean-Marc Lasgouttes
b1be8f3cb0
speedup latex export a lot
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8869 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-05 09:18:54 +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
Jean-Marc Lasgouttes
dc5326c28f
fix LyXText::getWord (bug 1609)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8828 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-29 15:43:25 +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
José Matox
33243f7003
clean code to export between different flavours, output different code for sgml to deal with incomplete implementation, clean code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8755 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 15:47:35 +00:00
André Pönitz
ba0a69bcd9
partial fix for cut and paste
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8658 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-18 07:32:34 +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
André Pönitz
01661a4030
add (needed) paranoia checks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8635 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 15:26:33 +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
6c9b23105c
fix table crash;
...
selection by mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8617 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 08:07:26 +00:00
Angus Leeming
0424a53b20
Wrap all #warning calls inside #ifdef WITH_WARNINGS blocks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8598 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 09:36:28 +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
Angus Leeming
120e59bc97
64 bit compile fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8525 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 17:06:17 +00:00
Alfredo Braunstein
87a0c7598f
andre's "brown paper bag" patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8506 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-19 16:36:52 +00:00
André Pönitz
7892c861f9
more 'value' semantics for paragraphs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8504 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:12:51 +00:00
Jean-Marc Lasgouttes
d891a896f4
Georg Baum\'s no-tempdir patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8458 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 12:00:53 +00:00
André Pönitz
48366502d7
fix tabular crashs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8451 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 11:00:41 +00:00
André Pönitz
df974a3904
add LCursor & parameter to cursor moving functions
...
additional small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8424 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-12 16:36:01 +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
22590a98b3
remove math cursor plus
...
* BufferView.C:
* cursor.[Ch]: some additional asserts
* undo.[Ch]: remove LyXText dependency in interface
* lyxfunc.C: adjust
* lyxtext.h (firstPar, lastPar): remove dead functions
* text.C:
* text2.C:
* text3.C:
* paragraph.[Ch]: adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8386 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 08:56:28 +00:00
Lars Gullik Bjønnes
ca176cc434
std:: changes, stupid stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8375 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-28 16:21:29 +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
4b2c271e23
* buffer.[Ch]:
...
* lyxtext.h: move ParagraphList member to LyXText
rename LyXText::ownerParagraphs to LyXText::paragraph
* CutAndPaste.C:
* bufferview_funcs.C:
* iterators.[Ch]:
* lyx_cb.C:
* paragraph.C:
* rowpainter.C:
* tabular.C:
* text.C:
* text2.C:
* text3.C: adjust
* lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
* undo.C: fix cursor positioning
* insetbase.h: whitespace
* inset.[Ch]: remove latexTextWidth
make setBackgroundColor virtual
* insettext.[Ch]: move ParagraphList member to LyXText
* insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
* insetcharstyle.C:
* insetenv.C:
* insetert.[Ch]:
* insetfloat.[Ch]:
* insetminipage.[Ch]:
* insettabular.C:
* insetwrap.[Ch]: adjust paragraphs and background color handling,
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8166 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 13:35:49 +00:00