Commit Graph

294 Commits

Author SHA1 Message Date
John Levon
3ea0a9e5f4 anchorRow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6526 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-18 16:47:18 +00:00
John Levon
73a37f0b2d Alfredo's deconstification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6525 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-18 13:05:08 +00:00
Lars Gullik Bjønnes
064714a102 Remove the BufferView* arg from almost all LyXText class functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6519 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 16:25:00 +00:00
John Levon
3b9620ae6d paint cleanups as sent to list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6517 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 01:34:36 +00:00
John Levon
af2f39cc94 postPaint() etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6514 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-16 00:45:31 +00:00
John Levon
9d693fbf05 rewrite ::status a bit so it's more obvious what's going on
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6497 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-14 01:49:19 +00:00
John Levon
5ee4cae5f3 remove pointless 2nd arg to setHeightOfParagraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6493 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 21:19:01 +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
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
John Levon
52fd7be07f move getColumnNearX next to iits only call site
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6412 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 05:03:33 +00:00
John Levon
60bce4889f Fix bug 365, and nextBreakPoint cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6405 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-09 21:54:56 +00:00
John Levon
3e97d1fee2 Pointless third arg to nextBreakPoint
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6398 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-09 13:46:48 +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
9973bb7aa1 add some cut and paste bugs (disguised as cleanups)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6373 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 21:01:04 +00:00
John Levon
c803419c43 Alfredo's patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 20:21:21 +00:00
Lars Gullik Bjønnes
63e1ebc312 use ParagraphList::iterator a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6330 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-03 23:19:01 +00:00
John Levon
4d440a1473 The row-painter patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 17:04:10 +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
ff1355a08a fix bibkey writing, avoid a few copies, whitespace changes..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6196 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-18 13:25: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
Jean-Marc Lasgouttes
f5cc372223 fix 773 and more (from Juergen S); fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 13:52:32 +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
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
Angus Leeming
c7fb290bfd Fix Helge's index bugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6010 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-31 13:50:21 +00:00
Jean-Marc Lasgouttes
a58209e735 fix crash with layout-paste
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5856 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-18 14:36:28 +00:00
Lars Gullik Bjønnes
2e36b1b652 fix some BoostFormat mistakes, cast the 0u par to string::isnert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5760 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-02 09:59:43 +00:00
Lars Gullik Bjønnes
271b807e8b fix the switch layout bug, add some more boost.format, some additional cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5757 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 21:10:37 +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
Lars Gullik Bjønnes
176b5ef357 fix bug 668
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5585 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-05 18:25:53 +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
bc56bb9ffa Add insetwrap.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5247 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-10 10:18:58 +00:00
John Levon
7f8a767e42 remove depth wraparound
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5244 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 17:53:22 +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
Lars Gullik Bjønnes
2b834e310b move counters to the layout files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5218 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-06 14:48:01 +00:00
Lars Gullik Bjønnes
f17a138278 some further counter work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5208 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 12:58:10 +00:00
André Pönitz
3a6bc2704a remove unused member LyXText::number_of_rows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5171 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 12:00:50 +00:00
André Pönitz
f59571dcab 100 lines moved, 33 dead.
Just for the record:

1.2.1:
  3666    8203   85497 BufferView_pimpl.C
  2693    8230   72506 text2.C
  6359   16433  158003 total

1.3cvs equivalent:
  1451    3413   34098 BufferView_pimpl.C
  2407    7391   64931 text2.C
  1588    4040   39668 text3.C
    94     203    2167 factory.C
  5540   15047  140864 total

so we saved over 800 lines by just moving stuff around...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5134 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 12:09:19 +00:00
Jean-Marc Lasgouttes
a0d71b53fe move floatlist to textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5124 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:51:19 +00:00
André Pönitz
45b2220180 move a bit moer stuff from BufferView::dispatch to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5117 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 12:32:04 +00:00
Lars Gullik Bjønnes
b9beccdc65 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
* text2.C (setCounter):  fixed enumeration mis-count as reported by
Dr. Richard Hawkins.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5066 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 07:46:47 +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
André Pönitz
e13f865926 tiny whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5058 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 14:23:28 +00:00
Lars Gullik Bjønnes
5d443af86a update boost
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5047 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 21:50:08 +00:00
André Pönitz
55ef679c8b tiny..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5042 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:47:36 +00:00
Jean-Marc Lasgouttes
1776a3d0af fix bug 568
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5028 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 11:14:46 +00:00
André Pönitz
799f3049d1 move handling of LFUN_APPENDIX to LyXText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5025 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 15:39:25 +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
5bd7f9d67b The ParagraphList stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4937 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 00:15:19 +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