Commit Graph

331 Commits

Author SHA1 Message Date
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
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
feee60b0f3 fix inset insertion woes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5969 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-17 09:57:50 +00:00
John Levon
3e44f652fe fix for page up/down across tall rows, with requisite #if 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5886 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-20 14:28:28 +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
Dekel Tsur
0ea628140a Do not make the buffer dirty when moving the cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5583 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-05 09:55:55 +00:00
John Levon
3e6c9c0812 fix bug 584 (r=lars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5559 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-30 21:02:40 +00:00
Jean-Marc Lasgouttes
fe0c8a4115 fix bug #652
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5373 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-09 13:07:29 +00:00
André Pönitz
4e672b30f3 lfun word-select
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5265 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 14:48:19 +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
Angus Leeming
6bfcc23b3f A couple more trivial compilation fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5193 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 12:31:22 +00:00
André Pönitz
65e2f0f63d BufferView.[Ch]:
don't provide direct access to WorkArea, use two simple
		acessors haveSelction() and workHeight() instead

  [And the ChangeLog entry, which was in the editor but not saved...]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5173 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 13:41:58 +00:00
André Pönitz
edc55ba120 Makefile.am:
BufferView2.C: remove file, move contents to...
BufferView.C: ... here

BufferView_pimpl.C:
factory.C: move more inset creation to factory

vspace.C: avoid direct usage of LyXText, ws changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5172 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 13:05:55 +00:00
André Pönitz
cd4d035577 moving more stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5142 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 17:33:42 +00:00
André Pönitz
fe61081acf bugfix (clicking into insets in insets was broken)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5140 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 16:32:18 +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
André Pönitz
eb395d9d31 move mouse click handling to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5132 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 10:45:38 +00:00
André Pönitz
a1e77e762d move tabular creation to the factory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5125 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:56:32 +00:00
André Pönitz
ef17c169f4 15 moved, 23 dead, 1 bug squashed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5122 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:23:01 +00:00
André Pönitz
b3d8d0d1a2 just move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5121 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:00:59 +00:00
André Pönitz
527cd00d2f move 42, kill 12
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5120 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 14:43:49 +00:00
André Pönitz
38fd440edb 27 moved, 19 killed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5119 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 13:39:27 +00:00
André Pönitz
2a0909f47b 73 lines moved, 15 killed... spoils the average ;-}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5118 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 13:17:22 +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
André Pönitz
17b41b1655 move cut&paste lfun handling from BufferView to LyXText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5112 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 13:25:49 +00:00
André Pönitz
42d9dbd0e5 more cursor up/down smoothing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5074 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 15:04:27 +00:00
André Pönitz
107ecefbad move some stuff from BufferView_pimpl.C to text3.C and lose a few lines...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5072 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 13:02:14 +00:00
André Pönitz
8c77963361 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5050 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 06:50:42 +00:00
Lars Gullik Bjønnes
f7927c40c8 compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5040 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:31:23 +00:00
André Pönitz
1d4154f333 another 100+ lines bite the dust...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5035 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 15:26:52 +00:00
André Pönitz
c69f29dda7 move half of BufferView_pimpl::dispatch() to LyXText::dispatch()
which has its new home in text3.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5030 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 13:00:25 +00:00