Lars Gullik Bjønnes
3bee5faf12
more ParagraphList work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6362 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 10:02:40 +00:00
Lars Gullik Bjønnes
2f71b9d235
ws changes only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6333 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 09:27:27 +00:00
John Levon
4d440a1473
The row-painter patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 17:04:10 +00:00
John Levon
609f0b3321
2003-02-13 John Levon <levon@movementarian.org>
...
* text.h:
* text.C:
* text2.C: move hfillExpansion(), numberOfSeparators(),
rowLast(), rowLastPrintable(), numberofHfills(),
numberOfLabelHfills() ...
* lyxrow.h:
* lyxrow.C: ... to member functions here.
* paragraph.h:
* paragraph.C:
* lyxtext.h:
* text.C: remove LyXText::beginningOfMainBody(), and call
p->beginningOfMainBody() directly. Move the check for
LABEL_MANUAL into the latter.
* text.h:
* text.C:
* text2.C:
* vspace.C:
* BufferView.h:
* BufferView.C: make defaultHeight() be a free defaultRowHeight()
* text.h:
* text.C:
* text2.C:
* text3.C:
* frontends/screen.C: move bv_owner private, introduce isTopLevel()
to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 00:41:44 +00:00
Lars Gullik Bjønnes
99d1627a47
dont use pragma impementation and interface anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
John Levon
ae87b94515
The big change tracking patch. Changes from posted version :
...
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global
I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
Lars Gullik Bjønnes
271b807e8b
fix the switch layout bug, add some more boost.format, some additional cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5757 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 21:10:37 +00:00
John Levon
774dabb323
remove unused and a little documentation (all r=larsbj)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5462 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 16:21:56 +00:00
André Pönitz
816344ab1d
Fix the "can't move out of nested text insets using pageup/down"
...
and a few cases of the "can't scroll over large notes" annoyances.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 10:45:28 +00:00
André Pönitz
3a6bc2704a
remove unused member LyXText::number_of_rows
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5171 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 12:00:50 +00:00
André Pönitz
f59571dcab
100 lines moved, 33 dead.
...
Just for the record:
1.2.1:
3666 8203 85497 BufferView_pimpl.C
2693 8230 72506 text2.C
6359 16433 158003 total
1.3cvs equivalent:
1451 3413 34098 BufferView_pimpl.C
2407 7391 64931 text2.C
1588 4040 39668 text3.C
94 203 2167 factory.C
5540 15047 140864 total
so we saved over 800 lines by just moving stuff around...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5134 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 12:09:19 +00:00
André Pönitz
45b2220180
move a bit moer stuff from BufferView::dispatch to LyXText::dispatch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5117 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 12:32:04 +00:00
André Pönitz
aa495275eb
more ws
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5083 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 11:49:28 +00:00
André Pönitz
c69f29dda7
move half of BufferView_pimpl::dispatch() to LyXText::dispatch()
...
which has its new home in text3.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5030 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 13:00:25 +00:00
André Pönitz
799f3049d1
move handling of LFUN_APPENDIX to LyXText
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5025 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 15:39:25 +00:00
Angus Leeming
c10dfd15cd
* LyXView: the accessor methods now return a reference to the member
...
variables, not a pointer.
* WordLangTuple: you can forward-declare a return type you know ;-)
* Qt: get it to compile again, having broken it yesterday.
* Everything else? See above.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4957 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 14:40:38 +00:00
Angus Leeming
6894fa6008
Martin's Per-buffer counters patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4948 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 20:24:10 +00:00
John Levon
30a10564b1
two minor cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4913 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 02:50:20 +00:00
John Levon
0b95bed295
various cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4912 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-09 00:42:12 +00:00
John Levon
6b5c9696b6
Remove LYX_LAYOUT_DEFAULT - it is very very old, even klyx doesn't use it.
...
Commit the multi-language spellcheck patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4882 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 22:38:44 +00:00
John Levon
0a8631ad44
A couple of minor bug fixes and cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4574 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 16:23:20 +00:00
Lars Gullik Bjønnes
f1c24d1009
*duck*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
John Levon
92e53dc01b
Rename screen, and don't re-construct it on a buffer change (that is far too
...
nosy of the core), and use an accessor ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 23:47:58 +00:00
John Levon
50a25e9a76
srcdoc fixes + a little tidy or two
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4288 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 03:37:24 +00:00
Jürgen Vigna
4564ce04e8
Fix crash when row did rebreak while drawing ( fix #351 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4122 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-03 09:22:07 +00:00
Lars Gullik Bjønnes
bded6fd063
remove return arg from fullRebreak, fix last "Standards", new operaotr>> for lyxstring (might need more work), some ws changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4108 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 22:17:09 +00:00
Jürgen Vigna
ba79607927
Simplified code and don't enter inset on cursor down/up while we are selecting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4013 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 08:34:59 +00:00
Jürgen Vigna
ba21e6498c
Fix for wrong cursor.x pos when before a fullRow inset (added ix), small
...
perfomance fix in LyXText's raw drawing, fix for adding paragraph in insets
when not allowed to do so (bug in Michaels list not on lyxbugs.).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3990 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:59:03 +00:00
Lars Gullik Bjønnes
8283e978f8
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Jürgen Vigna
92904c615a
Fix polling of selection request to not call the asString function every time.
...
Fixed a redraw problem for InsetGraphics (fix #271 ).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3787 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:36:03 +00:00
Lars Gullik Bjønnes
b9288969ec
remove lowercase, better layout handling and some variable renameing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:25:07 +00:00
Lars Gullik Bjønnes
dbd7a961fc
layout as string
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Lars Gullik Bjønnes
33c5d408fa
small stupid stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3348 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 00:33:21 +00:00
Allan Rae
17e8d4dfd8
Mostly fixed the 'empty paragraph deletion kills the cursor' problem; and initialise a few more vars in tabulars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3347 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 21:03:30 +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
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
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
4ec1fe07fe
Added function firstRow() to LyXText as this function is needed in
...
various files and as workaround always getRowNearY(dummy_y = 0) was
used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3112 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 13:43:12 +00:00
Jürgen Vigna
08b1fdacad
Fixed various bugs + John's form paragraph bug.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3111 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 12:58:59 +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
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
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
622e505857
small cleanups from andre
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2896 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-18 16:17:46 +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
Jean-Marc Lasgouttes
7cf094f99e
fix selection bug + latin9 tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2808 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 09:52:06 +00:00
Jürgen Vigna
46295a02f4
Some comments to the different cursors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2790 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 08:59:31 +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
Jean-Marc Lasgouttes
43cb604df7
fix indexing first word in a list layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2738 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 10:41:25 +00:00
Angus Leeming
4aca97ca21
John's per-paragraph line spacing patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2521 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 10:14:48 +00:00