Commit Graph

313 Commits

Author SHA1 Message Date
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
2431a4732a the appendix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6491 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 19:55:39 +00:00
John Levon
c3fb8cffea fix up the getChar() fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6490 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 17:50:39 +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
3327eb85a4 Fix newline in right address
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6473 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 23:19:09 +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
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
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
901c092504 fix break before minipages too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6411 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 04:59:48 +00:00
John Levon
376a3cbeab fix the row breaking. Sorry all !
Anyway, this *should* have one bug less, and be understandable.

Guess if my opinion on the "cleverness" of inset-as-metachar has changed
(hint: I wasn't a fan)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6408 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-10 01:46:40 +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
John Levon
060e6bc6af Fix two empty manual-label cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6394 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-08 19:31:09 +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
40d00da985 fix some rand cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6349 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-05 09:41:49 +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
30a9dd7f98 add ParagraphList::erase, make mergeParagraph take a Buffer* arg, adjust other funcs to suit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6344 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 20:45:02 +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
04f1569003 remove Inset::deletable() as it returns always 'true'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6187 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 16:16:49 +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
6a5681cf9d Fix merge of paragraphs at the start of a document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6183 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-17 01:54:32 +00:00
Jean-Marc Lasgouttes
13780bfb63 fix display of right quote inset; fix off-by-one error in placement of error insets; fix detection of fax programs; draw arrows for symbolic skips too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6160 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 21:39: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
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
Jean-Marc Lasgouttes
0855311e98 bug 814
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6062 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-07 15:21:04 +00:00
John Levon
e67711becd rename LYX_PAPER_MARGIN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6055 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-07 14:13:51 +00:00
Jean-Marc Lasgouttes
737c9af407 remove bogus spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5896 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-27 11:08:10 +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
467b0c0913 Patch from Isam Bayazidi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5718 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-25 21:29:21 +00:00
John Levon
125a79c569 two fixes (posted to list)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5594 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-07 00:37:09 +00:00
Dekel Tsur
293767645f Fix LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5507 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 18:31:47 +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
c88522c8ce text.C: Vitaly Lipatov's small i18n fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5362 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-07 09:42:00 +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
Jürgen Vigna
4122d9ae40 Fix for hfill rendering by Michael Schmitt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5237 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 07:45:32 +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
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
53cc89eed6 - parts of Lars' diff-6.diff
- move inline functions from buffer.h to buffer.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5038 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:18:21 +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
Dekel Tsur
4a0b9802c4 RTL fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5019 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-18 17:15:24 +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
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
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