Commit Graph

429 Commits

Author SHA1 Message Date
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
Lars Gullik Bjønnes
1afd0e5b5e ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6589 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-26 16:15:02 +00:00
John Levon
63a7577511 Alfredo's row patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6573 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-25 17:22:17 +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
26f1a5bfca My patch from yesterday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6548 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-20 14:13:49 +00:00
John Levon
ce5979004b stupid accidental commit. Sorry !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6538 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 15:01:29 +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
Lars Gullik Bjønnes
19fb963cc8 supposedly fix some getchar problems, and reenable the stronger assert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6532 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-18 23:23:28 +00:00
John Levon
769452eb15 Fix the UserGuide problem by always posting a full redraw when the
anchor row / offset changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6527 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-18 17:12:49 +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
John Levon
3e69f1b800 remove the ->display(false) code in rowBreakPoint
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6520 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 16:33:49 +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
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
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
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
Dekel Tsur
fb05e0df72 Fix Arabic text rendering.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4708 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-19 12:52:36 +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
Jean-Marc Lasgouttes
46ae7ea256 fix bug 461
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4513 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-01 21:50:54 +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
John Levon
07188bd4fc fix bug 488
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4448 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-21 00:10:29 +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
André Pönitz
9d46504b24 tyiny whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4283 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 17:16:31 +00:00
André Pönitz
d62a9764da more white spacei changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4267 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 13:28:11 +00:00
André Pönitz
91a6d2e005 white space changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4263 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 12:58:23 +00:00
John Levon
2dabaa33de font_metrics part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4203 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 14:34:32 +00:00
John Levon
98b254c810 more guii moving around.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4192 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 15:43:25 +00:00
John Levon
435d527581 guii2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4190 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 12:08:47 +00:00
John Levon
06f9f0ea08 OK I'll try guii1 again ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4186 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 09:21:32 +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
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
2e4ee6f503 ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4056 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 15:37:16 +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
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
1dc3f4deb3 Give fullRow insets a full row width, small bugfix, force rebreak of row when
inserting an inset (fix #292 hopefully).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3978 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 08:22:16 +00:00
Jürgen Vigna
8f1a6ffaed Fix the cursor position to be on the end of the row before an inset which
needs a full row (#44).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3966 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 09:53:23 +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
870b665955 Fix deleting of paragraphs after undo (fix #236).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3752 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-14 13:40:19 +00:00
Jürgen Vigna
dfcfccfc36 More fixes to InsetERT (hopefully the last ones for now).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3673 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 10:17:29 +00:00
Lars Gullik Bjønnes
c49a1f8c07 fix set layout 0 problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3668 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 16:13:59 +00:00
Jürgen Vigna
82cc1af962 Changed behaviour of Inlined ERT insets (fix 251).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3665 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 14:55:20 +00:00
Lars Gullik Bjønnes
8964835ac6 comment out some debugging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3650 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 01:06: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
Jürgen Vigna
82d23e8538 don't add an indent for paragraphs inside tabular cells (fix #208)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3583 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 14:11:32 +00:00
Jürgen Vigna
9443f625d8 Fix for #143. Changed handling of Font stuff for ERTInsets so that the
latex fonts are not really set but only displayed on screen. So we fixed
the problem of cut&paste in and out of ERT insets retaining the latex color
and font.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3576 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 14:55:17 +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
Allan Rae
37cfca3ed6 need_break_row was wrong in my earlier patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3413 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 03:50:19 +00:00
Allan Rae
6fb6cd8cc4 bug #174 now fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3389 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 12:57:26 +00:00
Allan Rae
b06f4c5af2 final(?) tweaks for removeAutoInsets() and removed one redundant conditional clause elsewhere
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3382 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-15 11:44:16 +00:00
Dekel Tsur
6c18d1771b Remove a #warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3354 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 15:26:58 +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
Jürgen Vigna
637d5b7d42 Fixes for smaller insets with not leftaligned paragraps and large insets
inside them (typically an minipage with a large tabular ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3305 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 16:15:11 +00:00
Jürgen Vigna
53cea4fb83 John's Layout Tabular UI improvements and Martins fixes to clearing the
cell around the InsetText inside InsetTabular.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3298 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 09:50:19 +00:00
Jürgen Vigna
9ddd875c6f Fixed long standing bug in breaking rows correctly. Fixed redraws when
searching/spellchecking inside tabulars. Fixed wrong frame redraw and
wrong clearing of inset (visible when the inset has a background color).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3297 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-06 19:34:30 +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
Jean-Marc Lasgouttes
1070702ea4 removed most uses of toupper and friends, removed <config.h> from headers and added it to some source files, applied patch from John for search&replace, and perhaps other things you will discover by browsing Changelog :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3255 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 15:11:51 +00:00
Jean-Marc Lasgouttes
721b2b3972 fix crash with proof-type box markers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3245 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 13:59:38 +00:00
Jean-Marc Lasgouttes
d17bd7cce9 a bunch of small patches from John and Juergen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3224 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 12:22:39 +00:00
Jean-Marc Lasgouttes
b00e1315fe add parOwner to Inset, optimize LyXText::workWidth, fix memory corruption with lots of floats (Ben)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 09:56:03 +00:00
Jean-Marc Lasgouttes
574031d689 keep selection after font change (John), fix positionning of error insets after environments (Ben), fix drawing of negative lengths and deletion of double spaces in single paragraph (me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3188 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 14:33:52 +00:00
Jean-Marc Lasgouttes
d0827daf75 better drawing of vertical space; merge vfill drawing in there
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3173 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 10:03:13 +00:00
Lars Gullik Bjønnes
b317d8341c apply added2.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3165 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:21:26 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Lars Gullik Bjønnes
09c0e4c833 chapter.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3145 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:35:38 +00:00
Lars Gullik Bjønnes
7eace1d85b hfilltextclean.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:32:15 +00:00
Jürgen Vigna
9d2abd4505 More fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3143 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:10:19 +00:00
Jürgen Vigna
63ab8b3517 John's minibuffer, checkInsetHit, lyxfunc-timeout patches + fix crash
on changing ERT insets Status (inlined, open, collapsed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3138 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 13:17:04 +00:00
Jürgen Vigna
fcb37cc693 Fixed cut&paste bugs and added freespacing for ERT Insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3115 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:29:30 +00:00
Allan Rae
52ecdce716 make g++ happy about variable declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3099 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 06:56:59 +00:00
Jean-Marc Lasgouttes
58ed1e8f02 fix compilation buglet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3095 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 15:05:32 +00:00
Jean-Marc Lasgouttes
aa41b3033b cleanups by john and andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:56:14 +00:00
André Pönitz
10f096880f whitespace changes;
change *::pos_type into lyx::pos_type


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3087 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:34:16 +00:00
André Pönitz
cd6e293ed7 start reducing header file dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3080 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 16:42:04 +00:00
Jean-Marc Lasgouttes
02e190002b isInset patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3065 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-23 10:16:02 +00:00
Jean-Marc Lasgouttes
96f078b748 remove bogus calls to LyXText::getRow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3062 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-22 10:33:11 +00:00
Lars Gullik Bjønnes
cb86c2c1d0 fix drawing of hfill characters, some small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3029 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 00:39:11 +00:00
Jean-Marc Lasgouttes
0b25c68c4b popup fixes from Juergen ; insetgraphics fix from Herbert ; menus fix from Andre ; allow ligature breaks in spellchecker and fix smart quote after protected space (from me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3019 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:47:35 +00:00
Jean-Marc Lasgouttes
9d0ba3ddf2 cleanups from John and Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2995 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:44:48 +00:00
Jürgen Vigna
b08d44b58f Small fixes to various InsetText problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2903 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 15:40:01 +00:00
Jean-Marc Lasgouttes
a80bee35b9 speed up workWidth code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2900 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 12:34:31 +00:00
Jürgen Vigna
da7583ab70 Tried to fix the too large InsetText (footnote).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2897 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-18 16:49:29 +00:00
Jean-Marc Lasgouttes
c804ecd29a code cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2890 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-16 14:47:10 +00:00
Angus Leeming
506d970e27 "Correct" way to prevent spellchecking in the ERT inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2795 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 14:29:27 +00:00
Angus Leeming
a2ef5d11b3 Renamed selectNextWord as selectNextWordToSpellcheck.
Modified selectNextWordToSpellcheck to not select words inside an ERT inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2785 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 16:21:23 +00:00
Lars Gullik Bjønnes
271f8d7eec some mods I had in my local tree, mostly small stuff, perhaps minus the the Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2713 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 22:02:19 +00:00
Jean-Marc Lasgouttes
9359baacf8 bug fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2707 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 15:41:36 +00:00
Jürgen Vigna
b158f8a481 Fixed bug when inserting insets in right alligned paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2499 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 13:28:14 +00:00
Dekel Tsur
a277759770 Add latex_language and remove inherit_language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2492 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-11 18:31:14 +00:00
Jürgen Vigna
57920ce17b Small fixes + hfill display/draw bug (seen with minipages!).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2487 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 14:00:48 +00:00
Jürgen Vigna
3b870366b4 Fixed "non selection" when hit a word with the spellchecker.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2479 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 11:07:07 +00:00
Jürgen Vigna
0756c7aed1 Fixed bug where delete/backspace like operations on selections filled the
cut'n paste buffer. Now this buffer is not touched by this operations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2454 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 14:36:56 +00:00
Jürgen Vigna
26b1fa7be8 Various update/redraw fixes. Cleaned up InsetERT and added a dialog for
changing between statuses. Save the statuses to file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2425 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 14:55:02 +00:00