Lars Gullik Bjønnes
fc1437e74e
Bug: 1025
...
2003-10-08 Lars Gullik Bj�nnes <larsbj@gullik.net>
* text2.C (incrementItemDepth): new function, use a backtracking
algorithm to discover the correct item depth.
(resetEnumCounterIfNeeded): new function, use a backtracking
algorithm to discover if counter reset is needed.
(setCounter): use them. Simplify a bit. Add different labels for
different item depths for itemize.
* paragraph.C (Paragraph): remove initialization of enumdepth
(operator=): ditto
* paragraph.h: get rid of enumdepth, and use itemdepth both for
enumerate and itemize. Change the type of itemdepth to signed char.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7882 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 17:44:32 +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
3bb63924d5
* metricsinfo.C: initialize LyXFont before changiging attribute.
...
(fixes the 'math in \emph is upright' bug)
* tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7860 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 14:10:59 +00:00
Lars Gullik Bjønnes
495cd0eea0
more action work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7801 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 23:00:47 +00:00
Jürgen Spitzmüller
e4eb667ea2
fix centering of float contents (bug 1290)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7796 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-19 07:25:36 +00:00
Angus Leeming
3fbad6656f
Add an InsetOld::Code wrapper class, enabling #include "inset.h" to be
...
removed from paragraph.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7786 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 10:52:29 +00:00
Angus Leeming
bae615fbf1
Make Martin's compiler happy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7779 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 15:45:13 +00:00
André Pönitz
034f172087
un-pimpl Paragraph::(Pimpl::)text for performance reasons
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7773 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 14:08:05 +00:00
Angus Leeming
f5a0bad734
Define a wrapper LyXFont_size for LyXFont::FONT_SIZE.
...
Use it in paragraph.[Ch], allowing the removal of #include "lyxfont.h"
from paragraph.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7772 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 13:43:30 +00:00
Angus Leeming
e7e92ec660
Remove IsInsetChar and IsWordChar from textutils.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7771 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 12:12:33 +00:00
Lars Gullik Bjønnes
cd03e2b7db
Get rid of lyxstring, remove usage of STRCONV.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7751 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 11:00:00 +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
Lars Gullik Bjønnes
fcdb71906b
Change Assert to BOOST_ASSERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Angus Leeming
f9c1cafbe6
Pragmatic pimpl-ing of BufferParams.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7721 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:00:19 +00:00
Angus Leeming
e835c9477b
Pimpl Buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7719 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 11:24:33 +00:00
Angus Leeming
fd36f5ad76
Make buffer's member variables private; use accessor functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7717 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:47:59 +00:00
Angus Leeming
4c6e0fe422
Removed all redundant using directives from the source.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
ecaf48dc26
Forward declare LatexRunParams in converter.h.
...
Remove #include "lyxrc.h" from encoding.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7700 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 23:36:02 +00:00
Angus Leeming
2e1eeac0b9
Replace ParagraphList.h with ParagraphList_fwd.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7693 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 12:36:58 +00:00
Angus Leeming
b0a5773d95
Reduce 115 dependencies on RowList.h to just 10 dependencies on lyxrow.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7692 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 11:01:50 +00:00
Angus Leeming
f239801ae3
Changes due to the removal of using directives from support/std_sstream.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7686 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 18:02:24 +00:00
Angus Leeming
236ea81bc5
Replace LString.h with support/std_string.h,
...
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +00:00
Angus Leeming
91de22ef34
Strip 320 #includes from the files in src.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7684 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:31:30 +00:00
Lars Gullik Bjønnes
b881ed2d5a
Use Buffer const reference in most placees possible.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7623 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:41:31 +00:00
André Pönitz
407c8f08bc
remove InsetOld::par_owner & handling
...
(const correct after Angus' comment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7610 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 16:36:53 +00:00
André Pönitz
eaad9ff595
outerPar
...
"fix" loading problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7608 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 14:50:16 +00:00
Angus Leeming
0be0fcfd59
If I ever see another licence blurb again, it'll be too soon...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
André Pönitz
566e084f63
weekend stuff less the chunk John "*strongly* disagrees with"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7527 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-11 09:09:01 +00:00
André Pönitz
2b2d71d8e2
merge parts of InsetText and LyXText::dispatch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7518 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-07 11:59:09 +00:00
Lars Gullik Bjønnes
f1ff990de7
Always use std::endl with lyxerr
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7481 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-02 11:30:30 +00:00
André Pönitz
42e43ec73d
remove broken operator==() for Paragraphs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7465 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 13:38:06 +00:00
André Pönitz
58fd3c844a
put two functions in one, remove global variables
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7464 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 13:12:21 +00:00
André Pönitz
acc3e7135c
remove unused Paragraph::copyIntoMinibuffer
...
remove unsed bool return values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7463 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 12:25:36 +00:00
André Pönitz
184b5dadaf
- y - (-y) is pretty close to 0
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7440 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 10:00:51 +00:00
José Matox
131eabe56c
\layout -> \begin_layout and missing \end_layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:17:11 +00:00
Lars Gullik Bjønnes
8721e76079
more compress support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7419 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:40:29 +00:00
André Pönitz
a7dc233a17
speed up after some profiling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7413 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 12:51:24 +00:00
André Pönitz
b6f6469040
remove Buffer * parameter from a bunch of get*Font functions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7398 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:59:06 +00:00
José Matox
30964c75af
Add \end_layout, increment file format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7397 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:39:54 +00:00
Asger Ottar Alstrup
9ea1c79aa0
When calculating fill, exploit data structure to avoid superfluous calls to getFont.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7376 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 10:42:11 +00:00
Lars Gullik Bjønnes
2e57f2ff0a
rename Inset to InsetOld
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7360 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 21:20:24 +00:00
Lars Gullik Bjønnes
4ba8a4d6f6
the clone auto_ptr patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7356 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 17:11:25 +00:00
Alfredo Braunstein
9bc730abdb
Take out bufferview from buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7259 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 12:26:40 +00:00
Lars Gullik Bjønnes
92d522b7f1
introduce namespace lyx::support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
Lars Gullik Bjønnes
5dd63a2768
The Paste Recent patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7182 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-17 15:33:49 +00:00
André Pönitz
2a5ab60ce8
IU of clone() and getLabelList()
...
Some mathed internal renamings to prepare further IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7173 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-16 11:49:38 +00:00
John Levon
13a21fe510
minimal ERT spacing patch (first patch sent to list plus a couple of fixes)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7134 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-07 17:45:43 +00:00
André Pönitz
4b14c1d9be
try to position cusor correctly after undo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7107 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 16:14:36 +00:00
André Pönitz
e412a2a53e
bit of undo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7100 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 07:14:05 +00:00
John Levon
ad6e8a6e7b
clone() at long last !
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7092 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 15:10:14 +00:00
Lars Gullik Bjønnes
83e37d57dd
remove NO_STD_LIST stuff, and some other small changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7063 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-29 11:19:52 +00:00
Lars Gullik Bjønnes
0d90321817
simplify InsetList a bit and constify a bit too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7062 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-29 01:13:18 +00:00
Lars Gullik Bjønnes
850ec37318
parlist-23-a,diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7056 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 22:41:04 +00:00
Lars Gullik Bjønnes
63a7d2f93c
parlist-22-a.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7055 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 20:59:03 +00:00
Lars Gullik Bjønnes
46e5fe4a67
get rid of same_id from function signatures
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7044 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-26 09:13:55 +00:00
Lars Gullik Bjønnes
9aee8a07b0
parlist-19-a.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7042 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-25 08:49:48 +00:00
Lars Gullik Bjønnes
40df686312
fix some small problems... kindo hackish...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7041 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-24 16:11:27 +00:00
Lars Gullik Bjønnes
297b40c725
make ParagraphList::push_back take a reference instead of a pointer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7036 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-24 11:54:10 +00:00
Lars Gullik Bjønnes
27de8d9ee0
get rid of NO_NEXT add some NO_STD_LIST instead
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7035 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 22:42:14 +00:00
Angus Leeming
8f89b71dba
Rename LatexRunParams::fragile as moving_arg.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 09:23:03 +00:00
Angus Leeming
453f294074
The free_spacing patch and fix to the mess that Rob discovered.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7019 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 08:59:47 +00:00
Angus Leeming
e1940902fe
Purely mechanical: move fragile into LatexRunParams.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7016 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 22:44:30 +00:00
Lars Gullik Bjønnes
5d573b3675
initialize all vars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7010 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 20:51:38 +00:00
Angus Leeming
ccce6b9662
Pass struct LatexRunParams around a bit...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:59:10 +00:00
Lars Gullik Bjønnes
bad6b92636
remove unused constructor from class Paragraph
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7007 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 18:29:02 +00:00
André Pönitz
ff98dcea08
on the way to a usable insetenv
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6975 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-19 07:12:09 +00:00
André Pönitz
d31244b5e2
The 'bformat' introduction
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
Lars Gullik Bjønnes
468560431f
Remove Paragraph dependency from texrow, use a id instead.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6949 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 21:27:29 +00:00
Lars Gullik Bjønnes
f5e07fb302
2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
...
* paragraph.C (erase): return a bool
* paragraph_pimpl.C (erasePos): remove function, move contents...
(erase): ... here. Return a bool.
(erase): call erase instead of erasePos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 09:15:15 +00:00
André Pönitz
ee9e6fc377
more Paragraph * -> Paragraph & changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 10:56:15 +00:00
André Pönitz
263b9fc043
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6878 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 10:39:08 +00:00
André Pönitz
76d84c61fd
Alfredo's CutAndPaste fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6877 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 09:40:49 +00:00
Lars Gullik Bjønnes
68f7a50799
parlist-13-c.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6824 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 08:12:22 +00:00
Lars Gullik Bjønnes
9de8beeae6
remove unneeded args from realizeFont
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6818 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-15 18:34:43 +00:00
Lars Gullik Bjønnes
1dd8947242
parlist-12-a.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6809 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-15 00:49:11 +00:00
Lars Gullik Bjønnes
6519ce1be5
parlist-11-a.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6807 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-15 00:11:03 +00:00
Lars Gullik Bjønnes
b94ed208a5
parlist-10-a.diff + a bit more
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6805 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-14 18:35:29 +00:00
John Levon
0003b5e76c
bugs 1013, 1017
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6728 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-07 20:32:29 +00:00
Lars Gullik Bjønnes
a915be94cb
never ask for one past last
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6479 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 10:30:28 +00:00
John Levon
47432f0259
The inset newline patch I sent plus the requisite fixes. I couldn't reproduce a problem.
...
JMarc, I haven't moved those latex bits into the ::latex method yet though.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6471 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 19:16:42 +00:00
John Levon
c070ede805
Create ParagraphParameters::write() and use it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6462 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 06:53:49 +00:00
André Pönitz
31e8978f2b
whitespace to sync my tree
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6449 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-11 16:38:37 +00:00
André Pönitz
ce3b1fa997
activate the new InsetHFill,
...
small ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6448 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-11 15:01:29 +00:00
John Levon
27deed6ea3
"Main body" is now just "body"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6397 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-09 12:37:22 +00:00
Lars Gullik Bjønnes
ebc4d99eaa
add a ParagraphList::insert, adjust other funcs accordingly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6345 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 21:40:36 +00:00
Lars Gullik Bjønnes
4bc6c8ebd5
more ParagraphList::iterator usage
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6343 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 19:52:35 +00:00
Lars Gullik Bjønnes
60322bc9d7
move some functions around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6328 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 21:15:49 +00:00
Angus Leeming
759dcbb427
* Split insetbib.[Ch] into insetbibitem.[Ch] and insetbibtex.[Ch].
...
* Rename bibkey as bibitem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6217 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-21 09:20:18 +00:00
André Pönitz
305c04ba8b
remove the hardcoded bibkey from the paragraph
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6186 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 15:16:14 +00:00
John Levon
d2b70ea0e6
Replace ugly getParFromID() code with ParIterator-based stuff. I think
...
we can do the same for getInsetFromID() but Juergen didn't answer my query.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6145 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 02:21:01 +00:00
John Levon
609f0b3321
2003-02-13 John Levon <levon@movementarian.org>
...
* text.h:
* text.C:
* text2.C: move hfillExpansion(), numberOfSeparators(),
rowLast(), rowLastPrintable(), numberofHfills(),
numberOfLabelHfills() ...
* lyxrow.h:
* lyxrow.C: ... to member functions here.
* paragraph.h:
* paragraph.C:
* lyxtext.h:
* text.C: remove LyXText::beginningOfMainBody(), and call
p->beginningOfMainBody() directly. Move the check for
LABEL_MANUAL into the latter.
* text.h:
* text.C:
* text2.C:
* vspace.C:
* BufferView.h:
* BufferView.C: make defaultHeight() be a free defaultRowHeight()
* text.h:
* text.C:
* text2.C:
* text3.C:
* frontends/screen.C: move bv_owner private, introduce isTopLevel()
to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 00:41:44 +00:00
Jean-Marc Lasgouttes
102266cf92
elsart support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6140 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 17:49:09 +00:00
Lars Gullik Bjønnes
99d1627a47
dont use pragma impementation and interface anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
John Levon
ae87b94515
The big change tracking patch. Changes from posted version :
...
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global
I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
Dekel Tsur
fad0e4343a
Remove XForms RTL hacks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5959 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-15 14:23:21 +00:00
Jean-Marc Lasgouttes
2868b724d5
small bits
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 09:03:32 +00:00
Lars Gullik Bjønnes
53274e31ec
the string -> char patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00
John Levon
ef87c26b55
Lar's ParConstIterator
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5602 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-08 01:08:27 +00:00
Lars Gullik Bjønnes
6a1167adab
STRCONV
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-04 02:12:42 +00:00
Dekel Tsur
605b8159d5
Fix bug with language changes in nested environment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5503 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 17:41:55 +00:00
John Levon
5a15177281
remove noload/don't typeset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5243 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 17:32:53 +00:00
Lars Gullik Bjønnes
cf3c73f4e8
remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5220 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-06 15:18:11 +00:00
André Pönitz
52ef85f57f
essentially Martin's patch to fix the \end-deeper bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 09:31:09 +00:00
Jean-Marc Lasgouttes
11953d3734
the optional argument patch from martin
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5079 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 09:05:32 +00:00
Lars Gullik Bjønnes
fd1a4f75e8
move pasteParagraph to global scope
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5062 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 17:35:24 +00:00
Lars Gullik Bjønnes
38b325846c
move breakParagraph and breakParagraphConservative out of Paragraph
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5043 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 19:41:13 +00:00
André Pönitz
570ac6e4f4
more stuff from Lars' diff-6 (write one par at a time)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5039 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:29:37 +00:00
Lars Gullik Bjønnes
fb68029010
add some NO_NEXT ifdefs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4985 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 07:53:46 +00:00
Lars Gullik Bjønnes
51e4d793ed
more from the diff-5.diff merged
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4983 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 22:15:18 +00:00
Angus Leeming
6894fa6008
Martin's Per-buffer counters patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4948 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 20:24:10 +00:00
Lars Gullik Bjønnes
83f4b0018e
Some small counters work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4936 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-11 20:34:20 +00:00
Lars Gullik Bjønnes
8e5e952472
ws changes only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4934 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-11 16:27:10 +00:00
Lars Gullik Bjønnes
260c7f3187
The InsetList
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4933 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-11 15:03:52 +00:00
Lars Gullik Bjønnes
116dbc66eb
a new paragraph function
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4930 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 15:21:07 +00:00
John Levon
0b95bed295
various cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4912 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 00:42:12 +00:00
Angus Leeming
22909c4ae1
Don't #include "counters.h" in paragraph.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4892 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 16:31:45 +00:00
Lars Gullik Bjønnes
960db78b52
My simple testing of Martins patch, shows that it works as expected.
...
Applied.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4883 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 22:40:59 +00:00
Jean-Marc Lasgouttes
1dc25c472f
time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
Jean-Marc Lasgouttes
3d5734b98f
do not define macro \LyX if we do not need it; small things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4724 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 16:42:15 +00:00
Jean-Marc Lasgouttes
4e2dae89d2
fix latex output for graphics file names containing "."; partly fix 381
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4508 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-01 14:31:57 +00:00
Lars Gullik Bjønnes
65d4b13616
layout as layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
Lars Gullik Bjønnes
bb7b14ae8b
small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4359 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-10 21:04:06 +00:00
John Levon
50a25e9a76
srcdoc fixes + a little tidy or two
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4288 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 03:37:24 +00:00
André Pönitz
6ef49d59c2
another 8% or so when loading the UserGuide...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4271 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 14:58:21 +00:00
Jürgen Vigna
000b05ea5d
Fixed paragraph breaking mechanism for "keepempty" paragraphs ( fix #390 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4159 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-14 09:40:54 +00:00
Jürgen Vigna
e4fffd74bc
This is the ParagraphIndent stuff compatibility. All of it only the GUI for
...
inputing/changing values is missing, but this (if) will come after 1.2.0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4138 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-08 12:58:16 +00:00
Dekel Tsur
93828a784d
Fix for insetERT in RTL docs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4132 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-05 16:33:19 +00:00
Jürgen Vigna
5a4fe1be41
Do BreakParagraph on an empty paragraph if it's flagged keepempty ( fix #313 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3983 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 10:29:12 +00:00
Jürgen Vigna
c55ff9a13d
Fixed \foreignlanguage outputs and small fix to x return on ERTInsets Button.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3969 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 13:35:03 +00:00
Lars Gullik Bjønnes
8283e978f8
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Jürgen Vigna
e81a703cdc
Fixed/Disabled code inserting InsetError in the wrong way ( fix #129 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-15 15:28:25 +00:00
Lars Gullik Bjønnes
ebd9146ddc
use correct comparison
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3749 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 23:13:35 +00:00
Lars Gullik Bjønnes
8407bdc22f
optimization
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3747 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 18:23:38 +00:00
Lars Gullik Bjønnes
e72261c3db
clear params
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3685 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 10:51:45 +00:00
Lars Gullik Bjønnes
3173a2ee45
use layout default not layout from prev para
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3683 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 10:12:59 +00:00
Lars Gullik Bjønnes
660732d74a
handle missing layout gracefully when reading and writing lyx files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3678 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 14:24:34 +00:00
Lars Gullik Bjønnes
26f07a39bc
get rid of Paragraph::clear
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3672 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 23:02:37 +00:00
Lars Gullik Bjønnes
b9288969ec
remove lowercase, better layout handling and some variable renameing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:25:07 +00:00
Lars Gullik Bjønnes
dbd7a961fc
layout as string
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Angus Leeming
eb6a0ad551
Upgrading of my xforms libs showed that lots of files thought they depended
...
on xforms. Further inspection showed that they didn't!
I've done nothing more than remove #include "lyx_gui_misc.h" here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:50:20 +00:00
Jean-Marc Lasgouttes
cfffe11571
new code for max depth; time to recompile your tree :)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3611 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 15:07:11 +00:00
Jean-Marc Lasgouttes
1120aa806c
cleanups from John and Juergen, bib files parsing fix from Herbert
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 10:50:48 +00:00
Lars Gullik Bjønnes
7ea7dabed1
to much stuff for my liking...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Jean-Marc Lasgouttes
919b745fa6
fix insetert drupdate problems (bug #176 ); fix row breaking after protected chars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 10:37:28 +00:00
Jean-Marc Lasgouttes
34e27f8c26
fix bugs 200, 201, 196
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3421 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 20:24:04 +00:00
Jürgen Vigna
9a5f7d1fe4
Fixed rowbreaking for "character"-insets and ignore all paragraph attributes
...
when the cell is not fixed lenght in a tabular on LaTeX output!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3315 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 14:24:49 +00:00
Lars Gullik Bjønnes
b56204339c
2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
...
text2.C (setCursor): add a couple of asserts.
paragraph.h (inset_iterator): add -> operator
paragraph.[Ch] (autoDeleteInsets): remove member function
BufferView2.C (removeAutoInsets): rewrite to handle the old
pos correctly and handle inset deletion by itself.
sertErrors): move iterator declaration out of for expression
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3271 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 21:17:18 +00:00
Lars Gullik Bjønnes
b922cdd796
2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
...
* Makefile.am: added the new files to sources, removed layout.C
* layout.C: removed file
* layout.h: remove LYX_DUMMY_LAYOUT
* lyxtextclasslist.C (NumberOfLayout): do not special case dummy
layout.
* lyxlayout.[Ch]:
* lyxtextclass.[Ch]:
* lyxtextclasslist.[Ch]: new files
* include order changes to a lot of files, also changes because of
the six new files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3269 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 13:26:54 +00:00
André Pönitz
0e5b6f557b
white space changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3243 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 15:29:54 +00:00
Jean-Marc Lasgouttes
af71097957
fix symbol font loading, insetquote latex output, undo leak (but this exposes a crash!)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3201 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 11:35:25 +00:00