Commit Graph

202 Commits

Author SHA1 Message Date
Jürgen Vigna
5a4fe1be41 Do BreakParagraph on an empty paragraph if it's flagged keepempty (fix #313).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3983 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 10:29:12 +00:00
Jürgen Vigna
c55ff9a13d Fixed \foreignlanguage outputs and small fix to x return on ERTInsets Button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3969 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 13:35: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
e81a703cdc Fixed/Disabled code inserting InsetError in the wrong way (fix #129)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-15 15:28:25 +00:00
Lars Gullik Bjønnes
ebd9146ddc use correct comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3749 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 23:13:35 +00:00
Lars Gullik Bjønnes
8407bdc22f optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3747 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 18:23:38 +00:00
Lars Gullik Bjønnes
e72261c3db clear params
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3685 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 10:51:45 +00:00
Lars Gullik Bjønnes
3173a2ee45 use layout default not layout from prev para
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3683 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 10:12:59 +00:00
Lars Gullik Bjønnes
660732d74a handle missing layout gracefully when reading and writing lyx files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3678 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 14:24:34 +00:00
Lars Gullik Bjønnes
26f07a39bc get rid of Paragraph::clear
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3672 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 23:02:37 +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
Angus Leeming
eb6a0ad551 Upgrading of my xforms libs showed that lots of files thought they depended
on xforms. Further inspection showed that they didn't!
I've done nothing more than remove #include "lyx_gui_misc.h" here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:50:20 +00:00
Jean-Marc Lasgouttes
cfffe11571 new code for max depth; time to recompile your tree :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3611 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 15:07:11 +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
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
Jean-Marc Lasgouttes
919b745fa6 fix insetert drupdate problems (bug #176); fix row breaking after protected chars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3529 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 10:37:28 +00:00
Jean-Marc Lasgouttes
34e27f8c26 fix bugs 200, 201, 196
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3421 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 20:24:04 +00:00
Jürgen Vigna
9a5f7d1fe4 Fixed rowbreaking for "character"-insets and ignore all paragraph attributes
when the cell is not fixed lenght in a tabular on LaTeX output!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3315 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 14:24:49 +00:00
Lars Gullik Bjønnes
b56204339c 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
text2.C (setCursor): add a couple of asserts.

paragraph.h (inset_iterator): add -> operator

paragraph.[Ch] (autoDeleteInsets): remove member function

BufferView2.C (removeAutoInsets): rewrite to handle the old
pos correctly and handle inset deletion by itself.
sertErrors): move iterator declaration out of for expression


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3271 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 21:17:18 +00:00
Lars Gullik Bjønnes
b922cdd796 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* Makefile.am: added the new files to sources, removed layout.C

* layout.C: removed file

* layout.h: remove LYX_DUMMY_LAYOUT

* lyxtextclasslist.C (NumberOfLayout): do not special case dummy
layout.

* lyxlayout.[Ch]:
* lyxtextclass.[Ch]:
* lyxtextclasslist.[Ch]: new files

* include order changes to a lot of files, also changes because of
the six new files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3269 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 13:26:54 +00:00
André Pönitz
0e5b6f557b white space changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3243 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 15:29:54 +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
Jean-Marc Lasgouttes
574031d689 keep selection after font change (John), fix positionning of error insets after environments (Ben), fix drawing of negative lengths and deletion of double spaces in single paragraph (me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3188 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 14:33:52 +00:00
André Pönitz
d659612225 reduction of header dependencies, part II (use new types
lyx::layout_type and lyx::textclass_type all ovcer the place)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3117 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 17:12:21 +00:00
Jürgen Vigna
fcb37cc693 Fixed cut&paste bugs and added freespacing for ERT Insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3115 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:29:30 +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
02e190002b isInset patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3065 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-23 10:16:02 +00:00
Allan Rae
38f2254254 Fix inset crashes ; now need to fix insertion of chars via the Inset*::checkInsertChar()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3045 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 08:54:10 +00:00
Jean-Marc Lasgouttes
fcc833018c latexfeatures path from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3041 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 15:34:11 +00:00
Jean-Marc Lasgouttes
0b25c68c4b popup fixes from Juergen ; insetgraphics fix from Herbert ; menus fix from Andre ; allow ligature breaks in spellchecker and fix smart quote after protected space (from me)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3019 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:47:35 +00:00
Allan Rae
83bf7d7ab8 remove old '\n' comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2990 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 04:18:34 +00:00
José Matox
a1a47b2255 Removed obsolete code.
Replaced linuxdoc by sgml in two sgml helper functions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2982 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 11:32:18 +00:00
Dekel Tsur
4925a78eb2 Correct placement of the \selectlanguage commands.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2962 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-03 17:15:43 +00:00
Jürgen Vigna
b08d44b58f Small fixes to various InsetText problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2903 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 15:40:01 +00:00
Dekel Tsur
2c5a232b08 Do not ignore newline/hfill chars when copying to the clipboard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2818 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-30 22:24:49 +00:00
Dekel Tsur
88c555f798 Misc. small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2816 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-28 20:23:49 +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
Lars Gullik Bjønnes
271f8d7eec some mods I had in my local tree, mostly small stuff, perhaps minus the the Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2713 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 22:02:19 +00:00
Jean-Marc Lasgouttes
9359baacf8 bug fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2707 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 15:41:36 +00:00
Dekel Tsur
a277759770 Add latex_language and remove inherit_language
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2492 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-11 18:31:14 +00:00
Jürgen Vigna
3c32875ece Applied Edwins patch, fixes to free memory read in insettext, partial fix
for the width of collapsable insets (more to do).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2444 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 15:07:36 +00:00
Lars Gullik Bjønnes
54e7ddb5d9 get rid of NO_LATEX, split some methods, small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2417 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 18:28:11 +00:00
Jürgen Vigna
605c3cbb36 Fixed calculation of row ascent/descent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2395 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-31 12:57:06 +00:00
Jürgen Vigna
a622bb6efa Added inline functionallity to InsetERT. Fixed cache.clear() problem in
InsetText. Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2393 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-31 09:53:40 +00:00
Asger Ottar Alstrup
b8cad4ca9d More header file include dependency work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +00:00
Jürgen Vigna
d32d0cbb95 This should clean up the language stuff a bit and a small new check for
inserting characters in insets (forced font change) which does not work
as the method seems not to be called.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2366 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 12:03:36 +00:00
Jean-Marc Lasgouttes
76a135cf07 a few small new features
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2289 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 09:38:19 +00:00