Commit Graph

153 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
d2718b3669 rowlist2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6646 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-29 23:11:20 +00:00
Lars Gullik Bjønnes
00488a1f56 The rowlist1 patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6644 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-29 19:29:30 +00:00
Lars Gullik Bjønnes
42e2aabad1 lyx-rowlist0-e with small alterations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6593 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-27 12:41:47 +00:00
John Levon
12b2d2ec4d rename the refresh stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6572 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-25 01:28:29 +00:00
John Levon
fa15f1b24a Ding dong, the CID is dead...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6558 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-22 17:26:03 +00:00
Lars Gullik Bjønnes
6477ad2616 bidi out of line patch from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6557 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-21 23:53:26 +00:00
John Levon
0623d1f074 The markDirty() and fitCursor() changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6537 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 14:45:22 +00:00
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
d22afc48af add some docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6494 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 21:58:16 +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
John Levon
122955821d whoops forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6406 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 00:05:05 +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
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
3bee5faf12 more ParagraphList work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 10:02:40 +00:00
Lars Gullik Bjønnes
2f71b9d235 ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6333 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 09:27:27 +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
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
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
John Levon
774dabb323 remove unused and a little documentation (all r=larsbj)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5462 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 16:21:56 +00:00
André Pönitz
816344ab1d Fix the "can't move out of nested text insets using pageup/down"
and a few cases of the "can't scroll over large notes" annoyances.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 10:45:28 +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
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
aa495275eb more ws
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5083 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 11:49:28 +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
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
c10dfd15cd * LyXView: the accessor methods now return a reference to the member
variables, not a pointer.
* WordLangTuple: you can forward-declare a return type you know ;-)
* Qt: get it to compile again, having broken it yesterday.
* Everything else? See above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4957 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 14:40:38 +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
John Levon
30a10564b1 two minor cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4913 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 02:50:20 +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
John Levon
6b5c9696b6 Remove LYX_LAYOUT_DEFAULT - it is very very old, even klyx doesn't use it.
Commit the multi-language spellcheck patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4882 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 22:38:44 +00:00
John Levon
0a8631ad44 A couple of minor bug fixes and cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4574 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 16:23:20 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
John Levon
92e53dc01b Rename screen, and don't re-construct it on a buffer change (that is far too
nosy of the core), and use an accessor ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 23:47:58 +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
Jürgen Vigna
4564ce04e8 Fix crash when row did rebreak while drawing (fix #351).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4122 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 09:22:07 +00:00
Lars Gullik Bjønnes
bded6fd063 remove return arg from fullRebreak, fix last "Standards", new operaotr>> for lyxstring (might need more work), some ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 22:17:09 +00:00
Jürgen Vigna
ba79607927 Simplified code and don't enter inset on cursor down/up while we are selecting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4013 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 08:34:59 +00:00
Jürgen Vigna
ba21e6498c Fix for wrong cursor.x pos when before a fullRow inset (added ix), small
perfomance fix in LyXText's raw drawing, fix for adding paragraph in insets
when not allowed to do so (bug in Michaels list not on lyxbugs.).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3990 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:59: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
92904c615a Fix polling of selection request to not call the asString function every time.
Fixed a redraw problem for InsetGraphics (fix #271).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3787 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:36:03 +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
Lars Gullik Bjønnes
33c5d408fa small stupid stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3348 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 00:33:21 +00:00