Commit Graph

2332 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
5d8704acff 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
screen.C (topCursorVisible): introduce a temp var for
handle the case where this row is null. (kindo


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3272 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 21:52:59 +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
a377c00fbe add algorithm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3270 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 14:52:28 +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
Jürgen Vigna
9987ffaee8 More ascii-export fixes and when making copy of single tabular cells now the
data is copied as tab separated values to the clipboard (not when copiing the
whole paragraph!).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3268 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-27 15:54:25 +00:00
Jürgen Vigna
4333f89d72 Fix buffer ascii export functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3267 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-27 12:00:03 +00:00
Jean-Marc Lasgouttes
7f0644416b a better(?) compilation fix for cxx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3266 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-26 14:45:16 +00:00
Jürgen Vigna
65ec1c0437 Insert mouse_x/y positon to have a REAL motion check. Fixed the spurious
selection on clicking on insets inside insets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 14:36:31 +00:00
Jürgen Vigna
2f64c235d3 Fixed tripleClick inside InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3264 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 14:11:31 +00:00
Jürgen Vigna
35dc964fe7 Fixed compatibility read between LaTeX paragraphs and minipages and multi
depth (short TableExamples.lyx is now read correct ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3263 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 13:55:59 +00:00
Jürgen Vigna
455a8f6ca2 Fixed stupid bug introduced in my last fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3262 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 10:15:17 +00:00
Jean-Marc Lasgouttes
a17655b05b fix \printer_spool_command bug in configure (what can you expect with such long names?); mostly implement reporting of font settings in menus for mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3261 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-21 13:55:24 +00:00
Angus Leeming
a41a4c065d Tiny compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3260 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-21 12:16:10 +00:00
Jürgen Vigna
5144bfbad9 Small bugfix for undo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3259 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-21 09:39:06 +00:00
Lars Gullik Bjønnes
cc0959da55 fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3258 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 17:23:17 +00:00
Jean-Marc Lasgouttes
96dd1ba64c compilation fix from Kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3257 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 16:27:02 +00:00
Jürgen Vigna
a9259a595c Fixed crash in undo_cursor putting and better saving of the undo_cursor in
not locked tabular cells.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3256 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 16:08:02 +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
Jürgen Vigna
feed97be54 Finished new Longtable options support. Please head that the tabular
save format is changed and the version number increased to 3. Please
report all unexpected behaviour.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3254 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 14:52:15 +00:00
Jürgen Vigna
ff36293942 More fixes for longtable options, still more to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3253 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 21:25:34 +00:00
Jürgen Vigna
caf1ad7d8d Fixed small problem in InsetText and start for a better tabular layout
(longtable options and better putting the width fields with v.alignment)
This is not finished yet!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3252 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 16:13:21 +00:00
Jean-Marc Lasgouttes
b8ec942f92 lyxsum/mmap compatibility patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3251 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 16:11:10 +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
Jürgen Vigna
03a76a07ce Fixed Undo/Redo, from Changelog:
* undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
	the paragraphs if the replaced paragraph is not the first one!
	Tried to delete not used paragraphs but does not work yet so for
	now it's inside #ifdef's and by default off!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3244 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-19 08:59:15 +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
André Pönitz
84af236eda remove double initilization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3242 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 15:29:23 +00:00
Dekel Tsur
b0dbd5e436 Adjust kerning of math symbols that are defined as macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3241 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 15:19:32 +00:00
Jürgen Vigna
f292441365 More fixes to the autocollapsing of paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3240 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 14:36:27 +00:00
Jürgen Vigna
5a1614bc51 Some fixes to lt handling (one forgotten reset) and collapse the paragraphs
into one single if we have autoBreakRows == false.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3238 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 12:35:53 +00:00
André Pönitz
d109cee80b preliminary support for \mbox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3237 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 12:21:33 +00:00
Jean-Marc Lasgouttes
ea05b4234c fix crash in menubackend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3236 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 10:47:06 +00:00
Jürgen Vigna
b17930447f Fixed stupid bug introduced by my last commit!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3233 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 09:13:34 +00:00
Lars Gullik Bjønnes
a45afb24a4 no change logs, sorry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3232 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:30:35 +00:00
Lars Gullik Bjønnes
8ddb8f993b small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3231 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:21:10 +00:00
Lars Gullik Bjønnes
f70513fe19 small stuff, perhaps you should have a look at the change in math_parser, Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3230 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:16:46 +00:00
Jean-Marc Lasgouttes
12d3ca2886 fix small clash between patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3229 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 15:08:51 +00:00
Jürgen Vigna
e8f7285df3 Set selection.cursor always on a ButtonPress event in insettext (fixes the
crashes on opening collapsable inset put into one row).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3228 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 14:53:31 +00:00
Jean-Marc Lasgouttes
6774c17368 fix to checkInsetHit() from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3227 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 14:25:04 +00:00
Jürgen Vigna
06b132ec14 Fixed memory bug in append column.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3226 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 13:40:04 +00:00
Jürgen Vigna
bc20177045 Fixed poping up of Layout-Dialogs on Mouse-Button-3 press.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 13:33:22 +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
André Pönitz
9ee57f7245 remove public access to cached position
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3223 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 11:23:21 +00:00
André Pönitz
8b6b06cedc bug fix (crash when creating displayed formula after latest cursor changes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3222 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 10:25:17 +00:00
Lars Gullik Bjønnes
5d4b945e12 remove all kde files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3221 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-16 09:03:31 +00:00
Lars Gullik Bjønnes
f685bb40cb initalize memeber vars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3220 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 16:24:40 +00:00
Lars Gullik Bjønnes
1f4e0de8a2 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3219 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 16:24:12 +00:00
André Pönitz
c0fc732905 allow cut&paste of rectangular "regions" of cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3218 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 16:13:11 +00:00
Dekel Tsur
59aa0e76dc cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3217 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 15:03:06 +00:00
Dekel Tsur
acdc633447 Consider lyxrc.zoom for computing the width of MathKernInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3216 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 15:02:36 +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
63fa06783e Fix language changing. It was broken by the following change
2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>

	* FormDocument.C (class_apply):
	(paper_apply):
	(language_apply):
	(options_apply):
	(bullets_apply): add a version of these methods taking a
	BufferParams& parameters. The original versions are now wrappers
	around these.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3212 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 14:00:36 +00:00
André Pönitz
5c0b5fb2cc clear selection on 'escape' if present
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3210 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 17:15:56 +00:00
Jürgen Vigna
7fdf62dd8e John's InsetTabular cursor patch and modifications/fixes to undo/redo code.
TODO: Still some problems in multiparagraph redo! And deleting of substituted
      paragraphs when undoing/redoing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3209 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 11:55:58 +00:00
Jean-Marc Lasgouttes
039a64bb48 undo undo leak fix that leked into the code, toc crash fix from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3208 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 09:16:01 +00:00
Dekel Tsur
1e7b5e1d99 Fix handling of \mathfrak font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3207 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 22:06:13 +00:00
André Pönitz
3677e0f57b minor cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3206 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 17:19:53 +00:00
André Pönitz
06fbab0b77 fix "cursor moving out of visible area" in large formulas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3203 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 14:12:09 +00:00
André Pönitz
6a53128822 enter gridded insets a bit higher
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3202 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-13 13:40:08 +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
André Pönitz
192625aa3a *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3200 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 14:39:33 +00:00
André Pönitz
d857fc89c8 Martin's super/subscript patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3199 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 14:37:59 +00:00
André Pönitz
6c13215907 more up/down tweaking;
remove unneeded functions


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3198 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 14:05:38 +00:00
André Pönitz
18f613448f re-enable automatic deletion of empty super/subscripts;
remove now unneeded pos() argument from idxUp/idxDown functions;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3197 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 13:11:28 +00:00
Lars Gullik Bjønnes
3b4ee1725c add inequelaity operator for lyxlength
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3196 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 12:07:38 +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
André Pönitz
e52ac5df2b more cursor up/down tuning...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3194 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 18:51:47 +00:00
André Pönitz
f976fb637d remove unneeded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3193 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 17:47:27 +00:00
Jean-Marc Lasgouttes
bf18321b43 use LyXLength for tabular pwidth
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3192 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 17:26:52 +00:00
André Pönitz
039fa89b9f revert most of the stuff that got reverted yesterday but was not
responsible for the crashes...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3191 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 15:35:18 +00:00
André Pönitz
52b5d27556 allow \frak as synomnym to \mathfrak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3190 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 15:10:16 +00:00
André Pönitz
1d8a1db27f fix nasty bug when inserting labels when cursor was in nested array
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3189 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 15:04:02 +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
Dekel Tsur
b7453a740b Fix for \mathfrak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3187 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 11:40:10 +00:00
André Pönitz
49710a766f input support for \mathcal, \mathbb etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3186 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 11:33:43 +00:00
Lars Gullik Bjønnes
b1f98665f5 forgot entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3185 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 10:48:33 +00:00
André Pönitz
34ed3608a0 support for fraktur font in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3184 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 10:14:51 +00:00
André Pönitz
c9541eeeab Essentially Lars' "thread safe" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3183 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 07:38:02 +00:00
Lars Gullik Bjønnes
7aebbe6e10 include shuffling and a mathed compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3182 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 20:06:59 +00:00
Jean-Marc Lasgouttes
159544464a insertlabel.diff, kbnmod.diff, lyx_main.patch, and part of compile.patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3181 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 15:59:20 +00:00
André Pönitz
007c4ef937 do as We say...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3180 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 14:35:54 +00:00
André Pönitz
9c2f56364e Part of Angus' patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3179 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 14:03:39 +00:00
Jean-Marc Lasgouttes
bf94991c65 cleanup my latest cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3178 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 13:30:27 +00:00
Jean-Marc Lasgouttes
b78b32b554 two patches for search and replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3177 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 12:50:09 +00:00
Jean-Marc Lasgouttes
2ce57e3f40 add labels to </> in searche and replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3175 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 11:18:30 +00:00
André Pönitz
fe31e337c1 perhaps a fix for the latest crashes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3174 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 10:09:00 +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
Jean-Marc Lasgouttes
ca3c70ec58 small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3172 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 09:59:39 +00:00
Allan Rae
8f0d715464 remove redundant code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3171 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 01:22:12 +00:00
Lars Gullik Bjønnes
c307b3bd88 better font and language handling for ert compability reading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3170 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-08 14:20:11 +00:00
Lars Gullik Bjønnes
dd51f5a487 (getGCLinepars): only lookup in the linecache once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3169 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-08 03:27:31 +00:00
John Levon
19d9667015 ng back unconverted dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3168 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-08 02:31:42 +00:00
Lars Gullik Bjønnes
bae1cc9a9d * ColorHandler.C (updateColor): change the hash to cover the whole
LColor enum, ws cleanup
(getGCLinepars): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3167 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-08 01:06:53 +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
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
7e61459c3f apply setlength.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3164 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:18:44 +00:00
Lars Gullik Bjønnes
6b6d49b7df apply combo.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3163 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:16:13 +00:00
Lars Gullik Bjønnes
ff885b3ed3 comment.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3162 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:13:02 +00:00
Lars Gullik Bjønnes
628bd134d6 apply unused.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3161 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:11:06 +00:00
Lars Gullik Bjønnes
104aed27d7 apply layoutno.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3160 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:09:26 +00:00
Lars Gullik Bjønnes
4d5b88d60c apply textat.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3159 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:06:02 +00:00
Lars Gullik Bjønnes
985aec9f0f apply lyx.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3158 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:04:07 +00:00
Lars Gullik Bjønnes
c7c0d033b2 apply insertascii.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3157 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:01:23 +00:00
André Pönitz
582c2887a9 remove more unneeded stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3156 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 18:55:45 +00:00
John Levon
a605db8120 compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3155 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 18:32:49 +00:00
André Pönitz
e71bea78ca brute force does not need much code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3154 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 18:00:36 +00:00
André Pönitz
ebe6d25126 deep iterators for math insets;
use brute force for to determine "best" position when doing cursor up/down
(will be sped up a bit again soonish...)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3153 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 17:50:18 +00:00
Jürgen Vigna
6f5f012d3d Fixed faulte delete of paragraphs in a special case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3152 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 16:11:47 +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
c80187fbfc remove out-commented code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:50:13 +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
Allan Rae
e1eb45f5d3 extend John's getLyXText() patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3148 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 05:53:01 +00:00
Allan Rae
5f3773f2b8 John's getLyXText() fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3147 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 05:26:22 +00:00
Allan Rae
157d9442ba header inclusion fixes(?) for abs(int)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3146 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 01:05:38 +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
André Pönitz
ef9efa6c0d do as Lars says
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3142 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 17:52:48 +00:00
André Pönitz
aed2b1804c make operator<<(*stream, ...) free functions;
make *stream 'class' instead of 'struct' (not finished);
use LCOlor::mathline only for boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3140 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 16:24:50 +00:00
Jürgen Vigna
8e88c36e20 Fixed updating of non locked inset inside other insets if requested!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3139 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 14:46:22 +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
Lars Gullik Bjønnes
d196f7e852 the mmap patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3137 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 01:11:05 +00:00
Lars Gullik Bjønnes
ff9b02aaba split vspace into smaller files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3136 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 23:47:06 +00:00
Lars Gullik Bjønnes
09ae774b49 2001-12-03 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* screen.C (topCursorVisible): scroll half a page when the cursor
	reached top of bottom of screen


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3135 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 23:20:56 +00:00
Lars Gullik Bjønnes
b720d576c0 test add a string operator and comment out a couple of unused args
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3134 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 17:03:46 +00:00
Lars Gullik Bjønnes
8d16724ee4 add operator for LyXGlueLength
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3133 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:39:57 +00:00
Lars Gullik Bjønnes
541aa2bcf7 inset-sel patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3132 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:28:13 +00:00
Lars Gullik Bjønnes
7a37009608 tab-sel patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3131 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:23:50 +00:00
Lars Gullik Bjønnes
0a8ee85654 rotatefix patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3130 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:21:10 +00:00
Lars Gullik Bjønnes
0543291106 dirlist patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3129 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 16:18:13 +00:00
John Levon
3454ed1bc2 support for Qt3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3128 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-01 02:24:28 +00:00
Jürgen Vigna
c130d5dbfd Hopefully fixed the redo problems with insets!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3127 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 16:10:24 +00:00
Jean-Marc Lasgouttes
9ecdf1c6c3 remove joke
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3126 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 15:15:51 +00:00
André Pönitz
2028cf6589 the cosmetical changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3125 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 14:57:15 +00:00
André Pönitz
8ca4fc16a5 small offset "correction"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3124 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 14:46:13 +00:00
André Pönitz
5049e123be better handling of up/down
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3123 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 14:40:38 +00:00
Jean-Marc Lasgouttes
39eec46bd3 kb3 patch from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3120 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 13:25:38 +00:00
José Matox
94b5a7b163 docbook code cleanup.
renamed some DocBook to docbook that Lars forgot. (inset methods)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3119 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 11:56:04 +00:00
André Pönitz
8c3c804a4d fix drawing glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3118 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 09:16:16 +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
André Pönitz
a969abe2f6 more selection stuff. It might be ok now...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3116 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:39:44 +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
c968dac821 retain buffer after pasting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3114 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 16:13:23 +00:00
Jürgen Vigna
2296f138e7 Forgotten to remove an assert I need to test.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3113 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 14:08:19 +00:00
Jürgen Vigna
4ec1fe07fe Added function firstRow() to LyXText as this function is needed in
various files and as workaround always getRowNearY(dummy_y = 0) was
used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3112 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 13:43:12 +00:00
Jürgen Vigna
08b1fdacad Fixed various bugs + John's form paragraph bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3111 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 12:58:59 +00:00
Jean-Marc Lasgouttes
5d38385eb6 recreation patch from Ben ; page break patch from John ; remove useless examples
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3110 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 11:20:56 +00:00
André Pönitz
d917d5b57b someone selling brown paperbags?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3107 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 17:00:55 +00:00
Jürgen Vigna
ba180d4089 Reduce Michael's buglist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3106 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 16:09:25 +00:00
André Pönitz
a44aa696dc for a change...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3105 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 15:25:28 +00:00
André Pönitz
52e6485462 move types.h to libsupport_la_SOURCES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3104 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 13:15:41 +00:00