André Pönitz
aee7213a76
replace getFirstParagraph() by getParagraphs()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6934 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 15:39:48 +00:00
André Pönitz
94c454c6ac
undo-6.diff: another next() removed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6928 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 15:21:45 +00:00
André Pönitz
627ffcb251
undo-5.diff: remove lastundopar
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6927 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 14:54:08 +00:00
André Pönitz
c19753c9be
undo-4.diff ("Another next() ...")
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6926 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 14:44:50 +00:00
André Pönitz
24727d42c4
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6925 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 14:12:01 +00:00
André Pönitz
5cec61cb69
pull out common code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6924 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 13:38:53 +00:00
André Pönitz
4b8025d992
* undo_funcs.C:
...
* undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
linked lists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6923 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 13:11:39 +00:00
Lars Gullik Bjønnes
cd50f3ae85
almost only ws changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6916 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 23:24:30 +00:00
André Pönitz
605912d575
fix Undo as suggested by Alfredo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6895 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 07:04:33 +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
André Pönitz
3a2a63d322
restrict scope of temporary variables
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6886 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 15:24:37 +00:00
André Pönitz
aad2de15b1
move common code of textUndo and textRedo to common helper function
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6884 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:50:11 +00:00
André Pönitz
79b459d3f0
simpler logic to create 'end' from 'behind'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:31:53 +00:00
André Pönitz
a510a0265f
remove two *& and a useless cast
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6882 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:10:13 +00:00
André Pönitz
653eaace76
* paragraph.h: make operator= private unimplemented as long as it is
...
unusable
* ParagraphList.C: whitespace
* paragraph.[Ch]:
paragraph_pimpl.[Ch]:
paragraph_funcs.C:
CutAndPaste.C:
undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
* text2.C:
undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6881 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:05:54 +00:00
André Pönitz
263b9fc043
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6878 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 10:39:08 +00:00
André Pönitz
d19f82e515
more of Lars' parlist changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6873 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 18:20:31 +00:00
Lars Gullik Bjønnes
1c1473e7ec
op-1-a.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6821 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 00:02:38 +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
Lars Gullik Bjønnes
6ce86e2bfe
parlist-a-1.diff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6683 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-02 17:11:38 +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
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
3b9620ae6d
paint cleanups as sent to list
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6517 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 01:34:36 +00:00
André Pönitz
5246fc5583
split inset -> inset + updatableinset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6212 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-20 17:39:48 +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
Jürgen Vigna
3113e957be
Backed out a change of my last patch which I now see is not correct. This
...
should fix the undo bugs we see.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5610 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-08 14:51:03 +00:00
Jürgen Vigna
f7d3fe8836
Fix undo bugs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5395 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-14 14:59:50 +00:00
John Levon
1b8855bed8
small fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5214 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-06 01:41:01 +00:00
John Levon
cf216cd7fc
Rob's patch and some minor cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5092 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 22:02:30 +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
Jürgen Vigna
a33189175a
Performance patches for tabulars from Edwin and John. Removed some
...
code which was there only for debugging purpose from undo_funcs.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4782 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 11:39:38 +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
a0e30632d6
Undo /does/ seem to still work properly :)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4212 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 19:40:17 +00:00
Jürgen Vigna
b7a265b19e
Undo cursor/selection bug fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4197 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:37:46 +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
4b64a5f485
Fixed redraw problems after undo/redo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3754 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-14 15:28:44 +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
06e5b9c0fb
Fixed another undo buf ( fix #256 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3687 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 11:58:19 +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
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
Jürgen Vigna
455a8f6ca2
Fixed stupid bug introduced in my last fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3262 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 10:15:17 +00:00
Jürgen Vigna
5144bfbad9
Small bugfix for undo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3259 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-21 09:39:06 +00:00
Jürgen Vigna
a9259a595c
Fixed crash in undo_cursor putting and better saving of the undo_cursor in
...
not locked tabular cells.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3256 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 16:08:02 +00:00
Jürgen Vigna
03a76a07ce
Fixed Undo/Redo, from Changelog:
...
* undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
the paragraphs if the replaced paragraph is not the first one!
Tried to delete not used paragraphs but does not work yet so for
now it's inside #ifdef's and by default off!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3244 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 08:59:15 +00:00
Jürgen Vigna
7fdf62dd8e
John's InsetTabular cursor patch and modifications/fixes to undo/redo code.
...
TODO: Still some problems in multiparagraph redo! And deleting of substituted
paragraphs when undoing/redoing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3209 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 11:55:58 +00:00
Jean-Marc Lasgouttes
039a64bb48
undo undo leak fix that leked into the code, toc crash fix from John
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3208 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 09:16:01 +00:00
André Pönitz
3677e0f57b
minor cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3206 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 17:19:53 +00:00
Jean-Marc Lasgouttes
af71097957
fix symbol font loading, insetquote latex output, undo leak (but this exposes a crash!)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3201 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 11:35:25 +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
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