Commit Graph

1736 Commits

Author SHA1 Message Date
André Pönitz
a5e85854f8 * lyxlex.[Ch]: make interface more similar to std::stream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8179 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 10:19:51 +00:00
Martin Vermeer
918a4067b5 Add latexparam to CharStyle inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8171 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 16:01:50 +00:00
Jürgen Spitzmüller
b06de5044f The VSpace fixes (removal of VSPACE::NONE) from Michael and myself
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8168 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 14:16:27 +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
John Levon
ee6fcfd1dd fix a crash on exit since nobody objected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8164 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-01 00:35:26 +00:00
Jürgen Spitzmüller
835002e272 Martin's BranchList fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8162 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-30 18:04:48 +00:00
André Pönitz
7de76711b1 move space above/below from Paragraph into a separate vspace inset.
Gui interaction mailer stuff by Angus...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
André Pönitz
741064fa58 move the LyXText member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8148 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:08:38 +00:00
Martin Vermeer
e8185081bc Syntax change for CharStyles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8147 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 10:12:04 +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
Martin Vermeer
a9cd48f40e This was forgotten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 16:57:12 +00:00
Martin Vermeer
9ef3f928a5 parametrize SGML document header
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8142 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 16:52:07 +00:00
Alfredo Braunstein
0ca871014a setFont rework + some code simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8140 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-27 09:22:41 +00:00
Alfredo Braunstein
2a6106ff5f updateCounters fix + changeDepth simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-26 09:48:21 +00:00
Martin Vermeer
af37f0d23e Introducing a number of tags parametrizing various
XML formats that we may want to support


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8137 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 17:23:36 +00:00
André Pönitz
ce686f1803 the 'lots of small stuff' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8135 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 11:17:27 +00:00
Angus Leeming
45ca1c4e02 (Georg Baum): propogate BibTeX databases from the master document to
its children.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8133 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 20:48:21 +00:00
Alfredo Braunstein
44dd615836 remove unneeded bv->text->init call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8132 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 20:03:47 +00:00
André Pönitz
c01bf4fae4 * text2.C (updateCounters): remove call to redoParagraph on
changed labels as this is far too expensive.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8130 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 17:29:10 +00:00
Alfredo Braunstein
f61322848d fix a crash while importing from LaTeX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8124 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 12:00:20 +00:00
Lars Gullik Bjønnes
6832f63f96 More debug mode work.
- some cursor movement
- selection


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8122 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-22 15:51:12 +00:00
Lars Gullik Bjønnes
7dd8cd705b A couple of changing resulting from gcc 3.4 debug mode testing.
Dont copy singular iterators.
Dont compare iterators from different containers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8121 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-22 14:44:59 +00:00
André Pönitz
6ff15cc813 Michael's open-close-patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8119 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 17:26:11 +00:00
André Pönitz
7e4b605961 tiny simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8115 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 15:52:11 +00:00
Alfredo Braunstein
34c34fc02e allow extending a double/triple click + whitespace + correct a comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8112 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 11:16:37 +00:00
Alfredo Braunstein
43198fcbda xy0_->xyo_ + two fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8111 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 08:35:15 +00:00
Alfredo Braunstein
4e2a7f6e81 small fix to today's commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8110 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-20 17:10:54 +00:00
Alfredo Braunstein
614fbe566c cursor work + absolute coords for lyxtext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8107 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-20 10:38:12 +00:00
Alfredo Braunstein
25b208aa25 fix to target_x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8103 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-18 11:39:30 +00:00
Alfredo Braunstein
025cb611e3 mouse selection patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8100 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 20:28:11 +00:00
Alfredo Braunstein
13dfdf70fc fix cursor positioning at the end of lyxfunc::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8099 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 20:20:55 +00:00
Alfredo Braunstein
cd76f580e3 reactivate replace + some code simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8089 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 09:02:10 +00:00
Alfredo Braunstein
1e1f53a2cc dispatch also to BufferView (solve the problems reported by Kayvan)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8088 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-14 18:15:58 +00:00
Martin Vermeer
93ea4edddf XML sanitation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8087 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-14 14:05:03 +00:00
Martin Vermeer
3bc54f0645 Fix insertion/modification of button-style insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8083 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 20:16:34 +00:00
André Pönitz
3159d1a52e no need for three calls to update() in a row...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8080 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 13:43:44 +00:00
Alfredo Braunstein
79ae54d4c0 fitCursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 08:50:26 +00:00
Martin Vermeer
59fefa0759 The Character Style and XML short element inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8078 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-12 14:38:26 +00:00
Martin Vermeer
b171a9b6fb Small step to solving 'impossible to insert some insets' problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8077 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 13:59:39 +00:00
Alfredo Braunstein
faa37a30d4 removing update calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8076 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 13:17:28 +00:00
André Pönitz
49cbe77634 * text.C: remove big comment on invalid Paragraph pointers as it is
not valid anymore

	* text_funcs.[Ch]: merge with ...

	* text.C: ... this

	* lyxtext.h:
	* text2.C:
	* text3.C: adjust

	* Makefile.am: remove text_funcs.[Ch]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8075 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 10:08:35 +00:00
Alfredo Braunstein
29eaa76094 some fitcursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 09:06:41 +00:00
André Pönitz
de49e02934 the update/updateInset merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8069 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 13:23:14 +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
8aaf803192 skip ert on spellchecking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8060 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-07 09:40:49 +00:00
Alfredo Braunstein
338b173b3c finer error handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8054 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 10:52:15 +00:00
Alfredo Braunstein
15ac230f5d flag the buffer dirty if replacing something
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8052 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 10:10:43 +00:00
Alfredo Braunstein
18b2090a3f a PosIterator-based ParIterator ctor and 1 user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8051 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 09:51:08 +00:00
Alfredo Braunstein
969e350579 DEPM crash fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8049 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 21:47:25 +00:00
Jean-Marc Lasgouttes
505cba7cad stlport compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8047 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 15:29:49 +00:00