Commit Graph

5888 Commits

Author SHA1 Message Date
André Pönitz
69a698c48a * insettext.[Ch] (cx, cy): remove
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8091 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 12:39:24 +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
6789af0a32 Alfredo's patch.
Enough for today...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8073 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 18:15:55 +00:00
André Pönitz
7803b6341b small clenaup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8072 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 18:13:00 +00:00
André Pönitz
6b22f0e423 coordinate cache IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8071 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 15:38:20 +00:00
André Pönitz
7915d583c2 some cursor correctiosn when closing a collapsable inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8070 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 14:29:39 +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
a145b1fd8d fix 'click on first footnote in UserGuide' crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8068 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 11:26:33 +00:00
André Pönitz
b719f4b39b a few bv_owner -> bv() changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8067 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 10:21:11 +00:00
André Pönitz
59a60a7d3b remove InsetOld::id
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8066 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:55:30 +00:00
André Pönitz
b60d9796d9 add #include <iosfwd>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8065 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:40: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
André Pönitz
2ad9bd1e7d more global cursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8059 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 16:43:12 +00:00
André Pönitz
32b65ce8ec fix a few 'OUT OF SYNC'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8055 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 11:56:10 +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
André Pönitz
f7a9c1a6be activeat 'out of sync' message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8053 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 10:30:43 +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
José Matox
cd424d7853 Rename ascii to plaintext and LatexRunParams to OutputParams.
Create new files for each output format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8046 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 12:06:20 +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
3f61b02f0c Joao latest bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8044 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 10:49:07 +00:00
André Pönitz
e096cc5104 Georg's latest improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8042 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 10:14:13 +00:00
Alfredo Braunstein
de36820a5a make LFUN_GOTO_PARAGRAPH work with deep nestings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8041 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 09:59:40 +00:00
Alfredo Braunstein
9a4ff503a7 two small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8040 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 09:36:07 +00:00
Alfredo Braunstein
ee252d8fe4 bring lyxsocket to qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8038 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 08:40:45 +00:00
Alfredo Braunstein
dffbeaf18d fix putenv memory leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8037 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 08:22:32 +00:00
André Pönitz
db78dbfa04 cursor changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8035 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 12:36:59 +00:00
Alfredo Braunstein
32a716152e the spellcheck cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8034 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 12:01:15 +00:00
Alfredo Braunstein
4ad989550c remove dead spellcheck code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8032 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 11:36:28 +00:00
Alfredo Braunstein
3a36ee90ff small fix to the locking nightmare
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8031 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 11:17:20 +00:00
Alfredo Braunstein
eb1bad7210 small fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8030 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 10:30:36 +00:00
Lars Gullik Bjønnes
649f67a794 remember this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8029 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 08:34:59 +00:00
Lars Gullik Bjønnes
05894b4862 some InsetText::priv_dispatch progress.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8028 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 08:33:23 +00:00
Alfredo Braunstein
be2db7308a compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8027 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 08:07:07 +00:00
André Pönitz
49e5945ce4 LyXCursor::x_fix -> BufferView::x_target
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8026 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 07:43:03 +00:00
Alfredo Braunstein
5adaa51785 deactivate the cursor cache
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8025 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 07:33:50 +00:00
Alfredo Braunstein
918df906bb spellcheck cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8024 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 00:26:50 +00:00
Alfredo Braunstein
d0cfc869e8 missing const
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8023 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 23:13:26 +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
c1319d2c67 Change DispatchResult semantics a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8021 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 19:52:47 +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
b8a3ae7449 remove Inset::id
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8019 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 16:46:44 +00:00
Alfredo Braunstein
4faa9e29cf add lockPath and a few helpers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8015 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 09:23:23 +00:00
Alfredo Braunstein
99fe02467a add PosIterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8014 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-02 17:56:26 +00:00
Lars Gullik Bjønnes
cc719fe0ce more dispatchresult changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8013 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 15:45:19 +00:00
Jürgen Spitzmüller
eeb6a77860 insetpagebreak: fix screen representation & ascii output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8012 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 14:09:35 +00:00
Lars Gullik Bjønnes
d66e61a93c try to avoid initailizaton problems with global debugstream variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8011 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 13:03:03 +00:00
Jürgen Spitzmüller
5f3e824d2c QParagraph: remove lines & pagebreaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8010 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 12:39:59 +00:00
Alfredo Braunstein
d51f1114b1 prepare for global iterator's operator--
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8009 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-01 09:56:18 +00:00
José Matox
15c913fe5a unify API for insets export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8008 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-31 18:45:43 +00:00
Lars Gullik Bjønnes
43259038fd gtk_patch_2003_10_30
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8007 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-30 17:58:06 +00:00
José Matox
95d8934808 factorise linuxdoc and docbook output code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8005 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-30 08:47:16 +00:00
Lars Gullik Bjønnes
a7060da197 make dispatch_result_t ctor of DispatchResult explicit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8004 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 19:19:27 +00:00
Martin Vermeer
a3236d4c95 Small refactoring of DocBook stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8003 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:48:21 +00:00
Lars Gullik Bjønnes
3df493e9d6 FINISHED_POP -> FINISHED
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8002 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:34:11 +00:00
Lars Gullik Bjønnes
1d7a715329 more dispatch work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8001 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 13:24:57 +00:00
André Pönitz
fa7aa5c7d9 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8000 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 12:58:26 +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
Lars Gullik Bjønnes
b0eb70e869 dispatchresult -> DispatchResult
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-29 10:47:21 +00:00
Lars Gullik Bjønnes
6d49cbadf0 gtk_patch_2003_10_28
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7997 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 16:45:09 +00:00
Alfredo Braunstein
29cc4f048b put a hack in rowBreakPoint inside #if 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7996 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 14:04:56 +00:00
André Pönitz
4588bb075a lots of small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7995 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 11:18:40 +00:00
Alfredo Braunstein
410847bd70 fix the end key
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7994 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 11:03:36 +00:00
André Pönitz
09548338ce support for \textcolor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7993 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-28 08:51:33 +00:00
Alfredo Braunstein
12a2f2705f fix the zombie chars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7992 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 20:23:26 +00:00
Alfredo Braunstein
c24f5b4874 small fix to toc navigation inside branches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7991 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 19:28:19 +00:00
André Pönitz
19198334bc fix color handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7989 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 17:22:27 +00:00
André Pönitz
50072b9431 remove strain on Angus's eyes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7988 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 16:59:09 +00:00
André Pönitz
4809009088 fix off-by-one error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7987 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 15:39:59 +00:00
André Pönitz
69fae0531d * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
* factory.C: handle new InsetPagebreak, InsetLine

	* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
	and move handling into new InsetPagebreak, InsetLine

	* BufferView_pimpl.C:
	* LyXAction.C:
	* ParagraphParameters.C:
	* ParameterStruct.h:
	* lyxfunc.C:
	* lyxtext.h:
	* paragraph.C:
	* paragraph.h:
	* paragraph_funcs.C:
	* paragraph_pimpl.C:
	* rowpainter.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

etc


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Alfredo Braunstein
5be51b4fb7 remove lastPos and use endpos instead
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7984 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 11:44:10 +00:00
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
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
Jürgen Spitzmüller
4c3beeee65 qt branches: color fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7981 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 07:05:07 +00:00
Angus Leeming
afc9aaf6eb Get rid of hte dynamic_casts in InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7980 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-25 20:09:52 +00:00
Martin Vermeer
6d1789d4db Partial fix to nav menu/branch inset problem reported by Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7979 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-25 09:20:51 +00:00
Martin Vermeer
41268a49a4 Fixed borkage of delimiters panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7978 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 15:32:32 +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
Alfredo Braunstein
fe1d419981 remove spurious rit = cursorRow()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7973 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:55:30 +00:00
André Pönitz
3b4253cf80 fix crash on 'page up' near the top of the UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7972 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:44:48 +00:00
Alfredo Braunstein
970e98f279 fix 2 dontlikes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7971 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:42:37 +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
58216db854 hm... a bit more testing seems to be in order..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7968 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 15:09:04 +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
Jürgen Spitzmüller
838ec5d986 qt branch support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7964 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 11:58:01 +00:00
André Pönitz
33f19b9ccc Georg Baum's monster patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7963 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 11:46:33 +00:00
André Pönitz
8265bed267 dispatch -> priv_dispatch where necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7962 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-23 10:53:41 +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
Angus Leeming
11c6ea653b Give InsetExternal the ability to preview its contents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7959 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 22:26:47 +00:00
Lars Gullik Bjønnes
84a91f5ebf Use correct types when working with stream::pos_type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7958 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 22:22:55 +00:00
Angus Leeming
fd8e0d71b8 Add a warning message if the file to contain the conversion script
cannot be opened.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7957 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 20:39:30 +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
Angus Leeming
78d3fbdac3 Set 'fully_loaded' when starting a new file too...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7954 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 14:40:24 +00:00
Angus Leeming
78046794cc Add a Buffer::fully_loaded member function, returning true only when
the file has been loaded fully. Used to prevent the premature generation
of previews and by the citation inset to prevent computation of
the natbib-style label.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 13:15:18 +00:00
Angus Leeming
cf536b5db7 Move a couple of private member functions into namespace anon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7952 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 11:12:31 +00:00
Angus Leeming
f5d9beafd3 display() { return true; } only for those insets that are is display mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7951 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 10:22:09 +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
ddb689a429 ChangeLog & re-add the {} for "long" blocks..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7943 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 16:19:05 +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
Martin Vermeer
b0650a1e5f Crash fix (wrong cursor def)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7935 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-18 14:43:54 +00:00
Lars Gullik Bjønnes
d0c18f8c60 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7934 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 23:45:32 +00:00
Lars Gullik Bjønnes
a8966b650b fix parallel make
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7933 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 23:41:14 +00:00
Lars Gullik Bjønnes
05347e4101 make some more regexs static
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7932 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:23:41 +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
Jean-Marc Lasgouttes
dab52aa183 compile fixes for stlport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 14:30:33 +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
Lars Gullik Bjønnes
1684282f8a Get rid of the TextCache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7928 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 09:32:41 +00:00
André Pönitz
f88fb47bc7 * filetools.C (ReplaceEnvironmentPath): set up patterns just once
using static variables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7927 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 16:41:32 +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
Lars Gullik Bjønnes
506844eca2 Fix a crashing problem with unknown actions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7925 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 11:16:15 +00:00
José Matox
eac541985f add missing bits to gtk port
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7924 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-15 10:55:42 +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
Angus Leeming
50257b8690 Turn LyX into a singleton class. Kill the BufferView cache.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Angus Leeming
6fc6d7e010 Only draw the preview when previews are activated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:54:16 +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
Alfredo Braunstein
5705714920 Fix bug 1323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7918 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 12:49:15 +00:00
Angus Leeming
4e136e6f41 (Jo�o Assirati): add the ability to inverse-search a dvi file.
To use, you'll need either to run 'latex --src-specials' or, if your version
of latex isn't up to the task, to use the srcltx package. Further, your
vi viewer must be up to the task. xdvi 22.38 or the kde 3 version of kdvi.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7917 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 11:35:50 +00:00
Angus Leeming
09e56ecb68 Missing ChangeLog entry for the new socktools.[Ch] files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7916 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 09:40:16 +00:00
Angus Leeming
e9e4ffb1d1 displayTranslator is now a function. No need to invoke setDisplayTranslator
explicitly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 21:50:33 +00:00
Angus Leeming
9a01e253a1 (Kayvan): compile fix for non-Linux platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7914 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 20:49:31 +00:00
José Matox
f91146d22b fixes to compile and link gtk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7913 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 15:23:45 +00:00
André Pönitz
0336ebd447 restore undo on parlist level.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7912 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 13:59:45 +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