Commit Graph

524 Commits

Author SHA1 Message Date
André Pönitz
0510f56da8 the lyxrow changes including accessors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7583 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 09:40:56 +00:00
André Pönitz
b7f49f9b42 * lyxrow.[Ch]: add end_ member
* lyxrow_funcs.C: use LyXRow::end_

	* lyxtext.h (singleWidth): add LyXFont parameter

	* rowpainter.C:
	* text2.C: adjust LyXText::singleWidth() calls

	* text.C (redoParagraph): simplify row breaking logic


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7580 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 07:49:57 +00:00
André Pönitz
017649d4a5 Alfredo's getRowNearY patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7564 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 08:35:25 +00:00
André Pönitz
d28b89ba80 add an additional full rebreak for 'resizeCurrentBuffer'.
remove some #if 0  code from singleWidth rebreaking


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7558 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 15:20:50 +00:00
André Pönitz
040a03e4a4 rowpainter.C: remove extra metrics calls
lyxtext.h: merge the two constructors into a single one,
 pass reference to owner's par list

 BufferView_pimpl.C:
 text.C:
 text2.C: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7557 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 14:54:19 +00:00
André Pönitz
43637efd25 better fix for anchorrow problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7555 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 13:12:24 +00:00
André Pönitz
09e0187997 split LyXText::rowlist_ into individual Paragraph::rows_ chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7551 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 08:03:54 +00:00
André Pönitz
55a3d84728 some infrastructure to prepare the rowlist split
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7544 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 14:10:13 +00:00
André Pönitz
29eb0e10ce more getPar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7541 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 11:56:04 +00:00
André Pönitz
648523b389 some more getPar removals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7539 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 11:16:31 +00:00
André Pönitz
b54607cb4f remove four getPar()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7537 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 09:59:05 +00:00
André Pönitz
003bb374a5 next try...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7536 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 08:34:13 +00:00
André Pönitz
a9d4d09715 grr.. revert. wrong patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7535 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 08:17:27 +00:00
André Pönitz
87cab819b4 remove Row::pit_ member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7534 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-14 07:43:57 +00:00
André Pönitz
566e084f63 weekend stuff less the chunk John "*strongly* disagrees with"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7527 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-11 09:09:01 +00:00
André Pönitz
87d49485e9 more not-so-useful stuff removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7526 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 16:24:32 +00:00
André Pönitz
5dd43bfad1 * lyxtext.h:
* text.C (breakAgainOneRow): removed


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7524 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 15:54:23 +00:00
André Pönitz
aca0551def don't fiddle with rows when they will be recomputed soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7523 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 15:48:57 +00:00
André Pönitz
48514415e8 * text.C: replace rowlist fiddling with rebreak of full par
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7522 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-08 15:34:17 +00:00
André Pönitz
07bfd64255 replace "complicate" BufferView::update(...) calls with simpler ones.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7491 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 09:06:35 +00:00
André Pönitz
e275c5d811 remove need_update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7476 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 15:17:22 +00:00
André Pönitz
a848fced97 duplicate rowbreaking code in redoParagraph as starting point for later
consolidation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7474 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 14:12:04 +00:00
André Pönitz
5eb1059f50 make redoParagraph more independent of current cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7470 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 11:22:13 +00:00
André Pönitz
bd3f5d89f4 remove unneeded LyXText::workWidth(InsetOld const *)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7466 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 14:07:59 +00:00
André Pönitz
42e43ec73d remove broken operator==() for Paragraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7465 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-31 13:38:06 +00:00
André Pönitz
184b5dadaf - y - (-y) is pretty close to 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7440 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 10:00:51 +00:00
André Pönitz
6e844a0aed small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7436 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 01:46:09 +00:00
André Pönitz
84518472df some cleanup (TEXT() gone, argumenst always == false etc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7431 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 22:34:48 +00:00
Lars Gullik Bjønnes
8721e76079 more compress support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7419 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 14:40:29 +00:00
André Pönitz
ebab2dbbfa use doubles again for x-coordinates. They are needed after all...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7411 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 12:20:42 +00:00
André Pönitz
b6f6469040 remove Buffer * parameter from a bunch of get*Font functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7398 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 21:59:06 +00:00
André Pönitz
a4776de061 get rid of LyXText::need_break_row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7389 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 15:41:46 +00:00
Asger Ottar Alstrup
60896529f0 Optimise rowBreakPoint and setHeightOfRow as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7378 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 11:16:25 +00:00
André Pönitz
330fdeda26 restrict scope of temporary variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7377 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 10:44:39 +00:00
Asger Ottar Alstrup
9ea1c79aa0 When calculating fill, exploit data structure to avoid superfluous calls to getFont.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7376 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 10:42:11 +00:00
Asger Ottar Alstrup
672ab42137 Work to improve performance a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7373 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 00:37:17 +00:00
Lars Gullik Bjønnes
2e57f2ff0a rename Inset to InsetOld
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7360 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 21:20:24 +00:00
Asger Ottar Alstrup
c3a34a64f1 Undo cleaned up. It seems to work pretty well now.
* undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
	Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
	which I think is a bit clearer. EDIT is gone, since it was
	premature optimisation, and broken for mathed anyway.
	* undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
	with cursor positioning in insets as well (math insets still do not
	work, but that's a different story anyway.) It mysteriously
	crashes sometimes with undo in the first paragraph, but I'm fairly
	confident that this is a compiler bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7358 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 19:18:43 +00:00
Lars Gullik Bjønnes
4ba8a4d6f6 the clone auto_ptr patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7356 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 17:11:25 +00:00
André Pönitz
a45815184b some more infrastructure...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7343 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 11:54:39 +00:00
André Pönitz
d16e9b926b LyXText::rebuild -> LyXText::metrics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7342 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 10:12:24 +00:00
André Pönitz
2eae49ac5a make textWidth access a bit simpler
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7315 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 12:05:50 +00:00
André Pönitz
99b64f351e two-phase-drawing for InsetText & InsetTabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7312 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-18 07:47:07 +00:00
André Pönitz
3a3d06a4fd remove some commented out code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7307 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 15:04:09 +00:00
André Pönitz
7b0b1cdaae remove twice unused variable 'tmpheight'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7304 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 11:34:48 +00:00
André Pönitz
e62ce55f8c remove Inset::update()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7298 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-17 07:32:01 +00:00
André Pönitz
31b0364c2d replace the LyXCursor::irow_ member with on-demand computation of the value
(as quickly tested by John last week)

LyXCursor does not know about rows anymore...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7290 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-16 08:42:26 +00:00
André Pönitz
cd12251e27 'full redraw' related stuff that's innocent for the upward-selection-in-tables bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7285 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 16:25:02 +00:00
Alfredo Braunstein
9bc730abdb Take out bufferview from buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7259 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 12:26:40 +00:00
André Pönitz
485313c6d7 The insettext patch.
This has been out in the wild now for two weeks....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7252 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-10 08:00:41 +00:00
André Pönitz
aeba4e75c3 last Friday's text*.C -> text_func shuffle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7225 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-01 11:51:20 +00:00
Lars Gullik Bjønnes
92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
André Pönitz
fa78e1ddb6 re-enable --with-included-string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7223 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 15:06:30 +00:00
Lars Gullik Bjønnes
1a8665988f the doxygen patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7219 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-28 01:23:11 +00:00
André Pönitz
5795dddd40 remove LyXCursor::row_ member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7214 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 08:38:41 +00:00
André Pönitz
7ab4b6683f Move rarely used stuff out-of-line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7211 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-26 09:42:28 +00:00
Lars Gullik Bjønnes
e20c467a98 bnext-2.diff + some more boost::next stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7188 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-18 17:43:49 +00:00
André Pönitz
596dec6592 return a Paragraph & from ParIterator::operator*()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7161 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-12 11:09:55 +00:00
John Levon
13a21fe510 minimal ERT spacing patch (first patch sent to list plus a couple of fixes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7134 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-07 17:45:43 +00:00
John Levon
a7c203c2ec fix bug 1055, bug 1143, bug 1144
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7060 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-28 16:36:55 +00:00
Lars Gullik Bjønnes
63a7d2f93c parlist-22-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7055 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 20:59:03 +00:00
Lars Gullik Bjønnes
4882d49f88 parlist-21-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7054 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-27 17:29:03 +00:00
André Pönitz
ec96a1e117 small stuff (white space, const, remove a const_cast...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7033 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 15:30:48 +00:00
André Pönitz
983d23f87d setUndo2 interface change
access to topmost plist item (as reference...)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7022 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-23 10:33:40 +00:00
Alfredo Braunstein
7085b13fd7 fix to Bug: 1110
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6992 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-21 11:39:20 +00:00
André Pönitz
14580a289e edit->LFUN_INSET_EDIT + CHangeLog + working URL insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6969 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-16 07:44:00 +00:00
John Levon
c7b495326e cursor.diff, bug 1095
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 18:05:53 +00:00
Lars Gullik Bjønnes
b7ba81d387 003-04-30 Lars Gullik Bj�nnes <larsbj@gullik.net>
* text3.C (dispatch): do not convert iterator -> pointer
        * undo_funcs.C (setCursorParUndo): ditto
        * text_funcs.C (transposeChars): ditto

        * text2.C (setLayout): ws changes only

        * text.C (breakParagraph): do not convert iterator -> pointer
        (insertChar): ditto
        (acceptChange): ditto
        (rejectChange): ditto
        (changeCase): ditto
        (Delete): ditto
        (backspace): ditto

        * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
        pointer


2003-04-30  Lars Gullik Bj�nnes  <larsbj@gullik.net>

        * insettext.C (setFont): do not convert iterator -> pointer

        * insettabular.C (localDispatch): do not convert iterator -> pointer
        (setFont): ditto
        (tabularFeatures): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 23:59:39 +00:00
Lars Gullik Bjønnes
68f7a50799 parlist-13-c.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6824 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 08:12:22 +00:00
Lars Gullik Bjønnes
b94ed208a5 parlist-10-a.diff + a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6805 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-14 18:35:29 +00:00
Lars Gullik Bjønnes
deaad2b833 lyxtext-1-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6788 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-13 12:56:48 +00:00
Lars Gullik Bjønnes
3b8f3462ed parlist-9-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6787 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-13 02:23:30 +00:00
Lars Gullik Bjønnes
cc46c4b975 parlist-8-b
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6786 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-13 01:04:04 +00:00
Lars Gullik Bjønnes
02a6251610 cached y positions patch from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6785 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-12 23:03:05 +00:00
John Levon
08b29513b3 fix row breaking again ..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6775 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-11 03:28:06 +00:00
John Levon
ce4ce89ea0 row break fix for fullrow insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6774 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-11 00:03:27 +00:00
Lars Gullik Bjønnes
04337321d0 parlist-7-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6773 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-10 21:07:55 +00:00
Lars Gullik Bjønnes
2813e744ac More ParagraphList::iterator work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6763 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-10 12:10:04 +00:00
John Levon
33aab6ed79 spell fix from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6759 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-10 03:04:22 +00:00
Lars Gullik Bjønnes
46d403a3c8 Make rowpainter store a ParagraphList::iterator, make some LyXText functions take ParagraphList::iterator instead of Paragraph*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6748 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-09 21:34:31 +00:00
Lars Gullik Bjønnes
0408f69287 Make lyxcursor store a ParagraphList::iterator, change three functions to take a ParagraphList::iterator instead of a ParagraphList::iterator. Other changes to adjust for this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6741 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-09 09:15:20 +00:00
John Levon
0003b5e76c bugs 1013, 1017
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6728 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-07 20:32:29 +00:00
John Levon
c321843cee alfredo - kill a getchar bad
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6709 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-03 17:02:19 +00:00
John Levon
d533ee3995 merge decDepth(), killing some non-parlist code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6695 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-03 00:36:31 +00:00
Lars Gullik Bjønnes
c543071cb3 parlist-3-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6694 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 23:01:39 +00:00
John Levon
3c1b0ea16b tab funcs changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6691 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 22:12:52 +00:00
John Levon
3566eaa406 move transposeChars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6676 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 00:51:46 +00:00
Lars Gullik Bjønnes
0d876bc179 rowlist10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6674 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 16:55:48 +00:00
Lars Gullik Bjønnes
82d3d4dff6 rowlist9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6669 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 10:10:28 +00:00
Angus Leeming
9d466bcfe9 Ensure that the signature of LyXText::fill matches that of the header file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6664 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-31 21:12:30 +00:00
Lars Gullik Bjønnes
e0e7a0e67f rowlist7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6663 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-31 16:57:45 +00:00
Lars Gullik Bjønnes
25b275f182 rowlist5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6652 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 21:42:09 +00:00
Lars Gullik Bjønnes
0eaa5ae519 rowlist4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6650 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 18:42:37 +00:00
Lars Gullik Bjønnes
6778eeaa36 rowlist3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6647 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 07:27:36 +00:00
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
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