Commit Graph

37 Commits

Author SHA1 Message Date
Alfredo Braunstein
26b1ba3a9b fix undo crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8379 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 08:55:45 +00:00
André Pönitz
ccc5d55764 Part of IU.
####################################################################

          1.4.0cvs is now NOT fit for any serious use

####################################################################


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8363 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-20 14:25:24 +00:00
André Pönitz
70d0ba9001 the monster patch
mathed is completely broken, but it's difficult to imprevo with such a
big patch in the tree.

If things don't improve until tomorrow evening, I'll revert this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8357 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 17:34:44 +00:00
André Pönitz
691594432d more shuffling...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8347 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 17:21:39 +00:00
André Pönitz
25bafa2772 Anchor globalization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8340 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 18:08:13 +00:00
André Pönitz
97901b5d51 hide cursor and selection anchor behind accessor function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8333 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 10:37:38 +00:00
André Pönitz
4b2c271e23 * buffer.[Ch]:
* lyxtext.h: move ParagraphList member to LyXText
	rename LyXText::ownerParagraphs to LyXText::paragraph

	* CutAndPaste.C:
	* bufferview_funcs.C:
	* iterators.[Ch]:
	* lyx_cb.C:
	* paragraph.C:
	* rowpainter.C:
	* tabular.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

	* lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.

	* undo.C: fix cursor positioning
	* insetbase.h: whitespace

	* inset.[Ch]: remove latexTextWidth
	make setBackgroundColor virtual

	* insettext.[Ch]:  move ParagraphList member to LyXText

	* insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE

	* insetcharstyle.C:
	* insetenv.C:
	* insetert.[Ch]:
	* insetfloat.[Ch]:
	* insetminipage.[Ch]:
	* insettabular.C:
	* insetwrap.[Ch]: adjust paragraphs and background color handling,


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8166 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 13:35:49 +00:00
André Pönitz
84b462dd37 ismall stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 08:55:12 +00:00
André Pönitz
b0cffd9fc0 The deed is done.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8064 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:06:48 +00:00
Alfredo Braunstein
267a040d10 require BufferView argument in ParIterator::text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8045 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 11:17:11 +00:00
Alfredo Braunstein
cac6814fed fix undo crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8022 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 21:22:31 +00:00
Lars Gullik Bjønnes
c38370d1c3 the exception safety patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 17:47:28 +00:00
André Pönitz
2292145ba3 some more 'global cursor' stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7999 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 12:18:08 +00:00
Alfredo Braunstein
875cec0af0 undo fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7982 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 10:03:04 +00:00
André Pönitz
18ce60e3c6 undo per inset. still a few crashes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7923 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-15 08:49:44 +00:00
André Pönitz
7e2343e016 make it compile & disable debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7920 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:13:55 +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
b79331e005 preparations to regain ability of per-inset undo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7911 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 13:27:45 +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
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
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
André Pönitz
a5c7dde1e4 the latest undo patch without the paragraphlist stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7102 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 12:45:26 +00:00
André Pönitz
e412a2a53e bit of undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7100 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-04 07:14:05 +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
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
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
Jean-Marc Lasgouttes
1120aa806c cleanups from John and Juergen, bib files parsing fix from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3586 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-26 10:50:48 +00:00
Jürgen Vigna
7521b5d20f The BIG UNDO patch. Recodes undo handling for better use inside InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 15:57:54 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Lars Gullik Bjønnes
76ca534828 some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagraph::Clone
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1989 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 13:28:44 +00:00
Lars Gullik Bjønnes
4c6091b63f remove !NEW_INSETS cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1980 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 14:31:33 +00:00
Lars Gullik Bjønnes
b95e8f250d some cascading name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1720 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-09 00:56:42 +00:00
Lars Gullik Bjønnes
0088121bd8 make text private in LyXParagraph some changes to import ascii file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@608 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-16 04:29:22 +00:00
Lars Gullik Bjønnes
8dccec5c46 my changes during the holidyas...i expect some compilers to have some problems, but I think that can be solved. Ok these are the main changes: use iostreams for everything, a TextCache to store the text variable in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@403 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-06 02:44:26 +00:00
Lars Gullik Bjønnes
1d7d3cc4af read ChangeLog, a lot of whitespace changes. experimental use of libtool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@329 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-22 16:19:48 +00:00
Lars Gullik Bjønnes
a040c0bc6f white-space changes, removed definitions.h several enum changes because of this, new file undo.C rewritten some in chset.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@314 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-15 12:01:38 +00:00