Commit Graph

64 Commits

Author SHA1 Message Date
Jürgen Vigna
ddc06a6e29 Don't create undos for inserting Error insets. What is missing still is that
before actually doing any undo we should remove "AutoInsets".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4939 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 08:16:01 +00:00
Lars Gullik Bjønnes
116dbc66eb a new paragraph function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4930 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 15:21:07 +00:00
Jean-Marc Lasgouttes
1dc25c472f time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
Lars Gullik Bjønnes
65d4b13616 layout as layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
Jean-Marc Lasgouttes
7bfe746bab fix bug #342
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4062 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 21:45:29 +00:00
Lars Gullik Bjønnes
1673266117 ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3918 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-06 12:50:33 +00:00
Jean-Marc Lasgouttes
34046e3c4d fix to #241 and #300 from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3827 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 17:00:04 +00:00
Lars Gullik Bjønnes
c8089f8bf9 makefile cleanup, and avoid some warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3821 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:15:27 +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
Jürgen Vigna
9069560786 * CutAndPaste.C (cutSelection): another layout settings forgotten.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3684 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 10:22:42 +00:00
Jürgen Vigna
5c84aa9357 set layout for new paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3677 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-06 13:19:07 +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
Jürgen Vigna
a7a622e888 Fix the paste bug with different depths.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3661 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 10:53:46 +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
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
Jürgen Vigna
6f673aed8b Try to comment out the seemingly unneeded (and wrong) code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3572 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 11:00:00 +00:00
Jean-Marc Lasgouttes
637e368f1c slovak support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3406 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 10:54:30 +00:00
Jean-Marc Lasgouttes
eaacc6c192 fix bug 171 (pasting of floats in floats)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3399 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 23:48:36 +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
Dekel Tsur
d4b53ea2c9 Use buffer language when inserting error insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3213 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 14:34:17 +00:00
Dekel Tsur
5702f22ef0 Use paragraph iterators in CutAndPaste::SwitchLayoutsBetweenClasses
and in BufferView::removeAutoInsets


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3166 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-07 18:40:24 +00:00
Jürgen Vigna
8a3b0939d5 Fixed insetAllowd for InsetText and Pasting multiple paragraphs inside
Insets with particular restrictions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3151 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 15:34:41 +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
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
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
Jürgen Vigna
0756c7aed1 Fixed bug where delete/backspace like operations on selections filled the
cut'n paste buffer. Now this buffer is not touched by this operations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2454 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 14:36:56 +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
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
352479f603 remove LyXParagraph Clone use newly added copy constructor instead, some whitespace changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1988 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-08 10:50:09 +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
a014900f15 NEW_INSETS clean up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1924 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 13:48:09 +00:00
Jean-Marc Lasgouttes
e59e72d1d1 do not include language.h and gettext.h in lyxfont.h and lyxparagraph.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-05 12:26:41 +00:00
Jürgen Vigna
c90c5e6386 Indentation change + small #ifndef NEW_INSETS fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1877 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-03 08:34:52 +00:00
Lars Gullik Bjønnes
fc8465aa1f use anon namespace, somewhat better comp. handling of minipages, not quite there yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1795 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 01:22:46 +00:00
Lars Gullik Bjønnes
63de5b908f dynamic number of lists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1732 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-11 18:39:00 +00:00
Lars Gullik Bjønnes
8cb2e519b3 remove Last when NEW_INSETS is defined
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1730 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-11 00:21:13 +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
Jean-Marc Lasgouttes
7d6a0f9506 Crash fix from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1269 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-07 15:30:53 +00:00
Lars Gullik Bjønnes
adaef99e60 some formatting changes some simplifications and removal of dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1198 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-04 10:00:12 +00:00
Lars Gullik Bjønnes
3ff3b95d3c remove almost all traces of old table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1034 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-23 04:57:18 +00:00
Jürgen Vigna
783c043a7e Fixes to insettabular/text + GNOME patch + KDE patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1029 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-19 13:50:47 +00:00
Lars Gullik Bjønnes
797d87b451 make doc++ able to generate the source documentation for lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@956 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-07 20:58:24 +00:00
Lars Gullik Bjønnes
4d3288c95b more NEW_INSETS changes, define NEW_MANUBAR as default some other changes, read ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@915 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-24 21:49:58 +00:00