Commit Graph

240 Commits

Author SHA1 Message Date
Jürgen Vigna
8f1a6ffaed Fix the cursor position to be on the end of the row before an inset which
needs a full row (#44).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3966 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 09:53:23 +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
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
dfcfccfc36 More fixes to InsetERT (hopefully the last ones for now).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3673 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 10:17:29 +00:00
Lars Gullik Bjønnes
c49a1f8c07 fix set layout 0 problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3668 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 16:13:59 +00:00
Jürgen Vigna
82cc1af962 Changed behaviour of Inlined ERT insets (fix 251).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3665 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 14:55:20 +00:00
Lars Gullik Bjønnes
8964835ac6 comment out some debugging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3650 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-04 01:06: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
Jürgen Vigna
82d23e8538 don't add an indent for paragraphs inside tabular cells (fix #208)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3583 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 14:11:32 +00:00
Jürgen Vigna
9443f625d8 Fix for #143. Changed handling of Font stuff for ERTInsets so that the
latex fonts are not really set but only displayed on screen. So we fixed
the problem of cut&paste in and out of ERT insets retaining the latex color
and font.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3576 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 14:55:17 +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
Allan Rae
37cfca3ed6 need_break_row was wrong in my earlier patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3413 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 03:50:19 +00:00
Allan Rae
6fb6cd8cc4 bug #174 now fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3389 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 12:57:26 +00:00
Allan Rae
b06f4c5af2 final(?) tweaks for removeAutoInsets() and removed one redundant conditional clause elsewhere
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3382 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-15 11:44:16 +00:00
Dekel Tsur
6c18d1771b Remove a #warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3354 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 15:26:58 +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
Jürgen Vigna
637d5b7d42 Fixes for smaller insets with not leftaligned paragraps and large insets
inside them (typically an minipage with a large tabular ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3305 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 16:15:11 +00:00
Jürgen Vigna
53cea4fb83 John's Layout Tabular UI improvements and Martins fixes to clearing the
cell around the InsetText inside InsetTabular.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3298 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 09:50:19 +00:00
Jürgen Vigna
9ddd875c6f Fixed long standing bug in breaking rows correctly. Fixed redraws when
searching/spellchecking inside tabulars. Fixed wrong frame redraw and
wrong clearing of inset (visible when the inset has a background color).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3297 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-06 19:34:30 +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
Jean-Marc Lasgouttes
1070702ea4 removed most uses of toupper and friends, removed <config.h> from headers and added it to some source files, applied patch from John for search&replace, and perhaps other things you will discover by browsing Changelog :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3255 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 15:11:51 +00:00
Jean-Marc Lasgouttes
721b2b3972 fix crash with proof-type box markers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3245 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 13:59:38 +00:00
Jean-Marc Lasgouttes
d17bd7cce9 a bunch of small patches from John and Juergen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3224 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 12:22:39 +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
Jean-Marc Lasgouttes
d0827daf75 better drawing of vertical space; merge vfill drawing in there
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3173 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 10:03:13 +00:00
Lars Gullik Bjønnes
b317d8341c apply added2.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3165 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:21:26 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Lars Gullik Bjønnes
09c0e4c833 chapter.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3145 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:35:38 +00:00
Lars Gullik Bjønnes
7eace1d85b hfilltextclean.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:32:15 +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
Jürgen Vigna
63ab8b3517 John's minibuffer, checkInsetHit, lyxfunc-timeout patches + fix crash
on changing ERT insets Status (inlined, open, collapsed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3138 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 13:17:04 +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
Allan Rae
52ecdce716 make g++ happy about variable declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3099 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 06:56:59 +00:00
Jean-Marc Lasgouttes
58ed1e8f02 fix compilation buglet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3095 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 15:05:32 +00:00
Jean-Marc Lasgouttes
aa41b3033b cleanups by john and andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:56:14 +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
Jean-Marc Lasgouttes
96f078b748 remove bogus calls to LyXText::getRow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3062 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-22 10:33:11 +00:00
Lars Gullik Bjønnes
cb86c2c1d0 fix drawing of hfill characters, some small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3029 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 00:39: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
Jean-Marc Lasgouttes
9d0ba3ddf2 cleanups from John and Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2995 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:44:48 +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
Jean-Marc Lasgouttes
a80bee35b9 speed up workWidth code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2900 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 12:34:31 +00:00
Jürgen Vigna
da7583ab70 Tried to fix the too large InsetText (footnote).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2897 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-18 16:49:29 +00:00