Alfredo Braunstein
1d9eeae1ea
two rowbreaking fixes + a bit of rowBreakPoint simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7983 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 10:27:50 +00:00
Alfredo Braunstein
d8428d8976
make endpos behave
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7977 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 15:04:17 +00:00
André Pönitz
3e8ce5ac6c
refrain from computing width in setHeightOfRow as this happens already
...
in rowBreakPoint before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 09:45:07 +00:00
André Pönitz
934aeb7383
Alfredos list<> -> vector<> for RowList
...
Show RightAddress again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7975 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 08:33:52 +00:00
André Pönitz
70f983b97f
set fill in fill(...) istead of returning it.
...
use isLastRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7974 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 07:59:04 +00:00
André Pönitz
cf40d206dc
Alfredo's cursroRow() fix;
...
directly set endpos in breakRowPos instead of returning it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7970 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:38:48 +00:00
André Pönitz
629f29ce80
* RowList_fwd.h: change list<> to vector<> to gain speed
...
after suggestion from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7967 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:06:52 +00:00
Alfredo Braunstein
a370d413af
take the bidi stuff out of lyxtext.h to its own file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7966 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 13:28:49 +00:00
André Pönitz
0011b84a16
move width computation to helper function
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7961 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 09:06:18 +00:00
André Pönitz
fd48fefe0e
* lyxtext.h:
...
* text.C (isLastRow, isFirstRow): new functions
* paragraph.h: new width cache member
* rowpainter.C: replace RowList::iterator with Row & where possible
* lyxfunc.C: replace several view()->text with a single call
* toc.C: fix 'unused' warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7960 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 08:15:57 +00:00
André Pönitz
aec5a388c8
rename row.end into row.endpos
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 16:30:57 +00:00
André Pönitz
ce3710cdb5
use Row & instead of RowList::iterator in prepareToPrint()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7950 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 09:56:22 +00:00
André Pönitz
5bff888ecc
just the next_rit check fixed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7948 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 08:31:49 +00:00
Martin Vermeer
c7c37bee5e
This should fix the "oops" in the "is a bit silly" bug fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7947 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 06:02:55 +00:00
André Pönitz
cc108cd96a
remove debug message
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7945 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 17:21:23 +00:00
André Pönitz
0fbee62e35
fix row breaking
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7944 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 17:16:01 +00:00
André Pönitz
5c3d9a2546
small stuff, whitespace & consistent naming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7942 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 16:15:14 +00:00
Martin Vermeer
de039bb341
Final touch 'inset display()'; fix 'is a bit silly' bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7941 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 13:04:14 +00:00
Martin Vermeer
50bbb55cb0
Re-introduce display() for insets, fixing various bugs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7940 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 18:56:48 +00:00
Jean-Marc Lasgouttes
173be73b27
fix bug 1415; fix annoying typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7938 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 13:55:51 +00:00
André Pönitz
8edd244bb6
small stuff (whitspace, spelling...)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7936 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-20 11:41:21 +00:00
Lars Gullik Bjønnes
87ca6fbbeb
the dispatch patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7931 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:01:15 +00:00
André Pönitz
7f3eb7cf70
RowList::iterator -> Row &, ParagraphList::iterator -> Paragraph &
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7929 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 10:31:47 +00:00
André Pönitz
9ed14b41fa
make updateRowPositions() a bit faster.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7926 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 16:19:56 +00:00
André Pönitz
5c2f0c5c46
In insets:
...
2003-10-14 Andr� P�nitz <poenitz@gmx.net>
* insetcollapsable.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]:
* inset.h: getText() as alternative to getParagraphs()
In src:
2003-10-14 Andr� P�nitz <poenitz@gmx.net>
* iterators.[Ch]: new direct access to innermost LyXText and Inset
* undo.[Ch]: restoring part of 'undo in insets'
* Makefile.am:
* undo_funcs.[Ch]: merge with undo.[Ch]
* tabular.C: small cleansing stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:01:49 +00:00
André Pönitz
a316a54e60
* BufferView_pimpl.C:
...
* lyxtext.h:
* text.C:
* text2.C:
* text3.C:
* undo_funcs.[Ch]: use paroffset_type instead of
ParagraphList::iterators to prevent multiple conversion
(and get a more robust interface)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7909 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:59:31 +00:00
André Pönitz
c8829b0feb
fix #1384
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7890 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 11:27:05 +00:00
André Pönitz
839576adbc
fix a few of the tabular crashes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 09:01:23 +00:00
André Pönitz
dcd8fb0428
replace ParagraphList::iterator by lyx::paroffset_type to prevent cursor
...
invalidation if the paragraphlist is changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 10:52:12 +00:00
André Pönitz
6810aa2ab8
* lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
...
thing assignable.
* text.C:
* text2.C: adjust
* tabular.[Ch]: fix crash after 'row-insert'
insets:
* insetcollapsable.C:
* insettext.[Ch]: saner 'init' structure
* updatableinset.[Ch]: remove unneeded code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7880 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 14:29:16 +00:00
Angus Leeming
627f2c70fa
Fix a bunch of doxygen warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 11:31:51 +00:00
Lars Gullik Bjønnes
44cd0fc9a1
The std::string mammoth path.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Angus Leeming
2e7ac7ca77
Rename EnumLColor as LColor_color.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7788 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-18 11:48:11 +00:00
Angus Leeming
e7e92ec660
Remove IsInsetChar and IsWordChar from textutils.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7771 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 12:12:33 +00:00
Angus Leeming
f4af685bd3
Remove #include "LColor.h" from insettext.h. Deps down 10 to 95.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7768 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 10:30:59 +00:00
Angus Leeming
a6ccea4f21
The EnumLColor patch, free of macros.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7759 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 15:20:22 +00:00
Alfredo Braunstein
ba14956f03
remove an unusual nop and an outdated warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7744 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-15 08:30:41 +00:00
André Pönitz
92a24f6f99
the automatic label patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7739 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-12 17:13:22 +00:00
Angus Leeming
57a24ea912
Replace 'using namespace abc;' with 'using abc::xyz;'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00
Lars Gullik Bjønnes
fcdb71906b
Change Assert to BOOST_ASSERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7722 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:25:35 +00:00
Angus Leeming
f9c1cafbe6
Pragmatic pimpl-ing of BufferParams.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7721 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 17:00:19 +00:00
Angus Leeming
e835c9477b
Pimpl Buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7719 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 11:24:33 +00:00
Angus Leeming
fd36f5ad76
Make buffer's member variables private; use accessor functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7717 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:47:59 +00:00
Angus Leeming
4c6e0fe422
Removed all redundant using directives from the source.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
ecaf48dc26
Forward declare LatexRunParams in converter.h.
...
Remove #include "lyxrc.h" from encoding.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7700 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 23:36:02 +00:00
Angus Leeming
2e1eeac0b9
Replace ParagraphList.h with ParagraphList_fwd.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7693 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 12:36:58 +00:00
Angus Leeming
b0a5773d95
Reduce 115 dependencies on RowList.h to just 10 dependencies on lyxrow.h.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7692 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 11:01:50 +00:00
Angus Leeming
91de22ef34
Strip 320 #includes from the files in src.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7684 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:31:30 +00:00
Lars Gullik Bjønnes
bf053299a6
fix cursorEnd, remove lastPrintablePos
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7664 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 15:21:34 +00:00
Angus Leeming
1dffc5cfe4
Move #includes out of header files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7659 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-04 03:54:04 +00:00
Lars Gullik Bjønnes
b881ed2d5a
Use Buffer const reference in most placees possible.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7623 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:41:31 +00:00
André Pönitz
59336f855b
ownerPar for gerParentLanguage
...
fixed formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7618 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 15:38:23 +00:00
Alfredo Braunstein
cf6549229d
moves top_y from lyxtext to BufferView
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7616 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 14:55:20 +00:00
André Pönitz
ef2290cf5e
Martin's fullRow patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7605 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 10:33:59 +00:00
Alfredo Braunstein
189b00a5c9
Rationalise the position of calls to updateRowPostitions, remove the returned (and computed) y position from getRow and getRowNearY (and solve a bug in this one).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7603 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-25 10:24:26 +00:00
Angus Leeming
0be0fcfd59
If I ever see another licence blurb again, it'll be too soon...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
André Pönitz
cb5af90a1b
support for \overset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7594 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 16:01:13 +00:00
André Pönitz
95e822007d
next try to single Inset::metrics() computation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7592 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 12:38:21 +00:00
André Pönitz
371e05fd3e
hm... too eager I suppose
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7591 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 12:00:58 +00:00
André Pönitz
359519bda4
remove the spurious metrics() (ex-update()) call from setRowHeight()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7590 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 11:54:02 +00:00
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