Commit Graph

655 Commits

Author SHA1 Message Date
Angus Leeming
d208f37600 Add a GRAPHICS type to the enum.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3552 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 12:33:19 +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
d1e32bd66c make inset-toggle work when cursor is inside inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3528 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 12:56:46 +00:00
Jean-Marc Lasgouttes
e369d83035 add a checkbox to current document in document list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3521 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 15:51:03 +00:00
Jean-Marc Lasgouttes
6b5a92d3d6 % is bullshit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3501 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 16:50:28 +00:00
Jean-Marc Lasgouttes
0dd7fe4e06 fix loss of selection from John; some small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3500 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 16:43:54 +00:00
Jean-Marc Lasgouttes
8e3456ec01 fix weird error message when a command is disabled ; fix switching buffer in xref dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3494 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 15:12:40 +00:00
Jean-Marc Lasgouttes
342932ad32 two patches from john
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3479 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 11:30:25 +00:00
Angus Leeming
f09619a7e8 Herbert's big graphics patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3446 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 09:26:24 +00:00
Dekel Tsur
7bc61e2195 Change the latex font names in order to match the names of type1inst.
Anyone who used these fonts, should recreate the fonts.dir
(you can use the lib/create_fonts_dir script)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3439 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-26 18:32:03 +00:00
Lars Gullik Bjønnes
bd82f1d334 fix for something similar to bug132, pluss some small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3429 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-21 12:16:56 +00:00
Jean-Marc Lasgouttes
804493f2c4 grey-out comboxes when they are disabled; disable toolbar layout combox when forceDefaultParagraph is true; enlarge a bit the toolbar tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3427 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 23:17:17 +00:00
Jean-Marc Lasgouttes
bd31d0cb5c fixes to biblio and insetgraphics from herbert; disable LAYOUT_PARAGRAPH when needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3423 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 16:07:42 +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
Jean-Marc Lasgouttes
f0a372d294 fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
Jean-Marc Lasgouttes
6e1817f7b6 fix compile problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3415 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 10:31:30 +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
Jean-Marc Lasgouttes
d8037e4bfd use real LyXLength for minipages; new method LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3412 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 23:09:31 +00:00
Jürgen Vigna
1e775a68c6 Fixed insetlocking-mechanism and PARAGRAPH_GOTO func.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3407 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 14:27:01 +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
Allan Rae
605797c1b4 John's scalable font message and preferences inner_tab rename patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3405 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 10:53:14 +00:00
Allan Rae
c686dbe87f John's pref.diff minus the bold inner tabfolder in Preferences; ShowMessage() to console if minibuffer unavailable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3401 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 06:43:34 +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
Jean-Marc Lasgouttes
36aa4ee109 finally apply DepTable patch; simplify file browsing in ControlExternal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3398 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 22:17:38 +00:00
Jürgen Vigna
9c58df4a88 Small fix in lyxrc and fixed #167 and #181.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3394 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 16:07:09 +00:00
Angus Leeming
2fa5fefbfd #include "LString.h" in the right places. Must be doing something right
because Qt2 compiles, almost out of the box.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3392 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 16:00:14 +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
Jean-Marc Lasgouttes
fb424bae1b fix starting up which binary is really a symlink; make sure insetinclude file browser returns a relative path when this makes sense; straightforward cleanup of the ways to get filename and filepath for a buffer (in preparation of future work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 23:31:23 +00:00
Jean-Marc Lasgouttes
886dab108b compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3378 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:48:28 +00:00
Angus Leeming
de3b5aab16 Resolve virtual function name clashes:
* Rename InsetMinipage's width and height functions as pageWidth and
pageHeight, respectivelyi as they are functionally distinct from
the InsetCollapsable's methods of the same name.
* Change the "bool const &" parameters of UpdateableInset::searchForward and
searchBackward to "bool". Ditto with other classes, so all are now consistent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:10:29 +00:00
Lars Gullik Bjønnes
d5fefbb6d8 include iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3374 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 15:29:40 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Angus Leeming
3b7dd942e6 Compile fixes following this weekends commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3371 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 12:56:05 +00:00
Angus Leeming
998ddf60e3 Nobody complained so I'm committing my minibuffer completion patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3369 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 12:47:17 +00:00
Lars Gullik Bjønnes
2bf2849cc3 bug 66
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3365 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 02:13:51 +00:00
Lars Gullik Bjønnes
bbb3412f1e bug 186
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3363 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 00:26:17 +00:00
Jean-Marc Lasgouttes
1d99b34719 fix crash bug with non-existing input files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3360 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 21:35:50 +00:00
Jean-Marc Lasgouttes
836d40440f document_path defaults to empty; fix handling of function args from minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3359 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 19:19:05 +00:00
Lars Gullik Bjønnes
813234f7e6 bug 69
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3357 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 17:28:42 +00:00
Jean-Marc Lasgouttes
c890dfa0f8 add shortcuts to filedialogs directory buttons; small gnome patch from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3353 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 15:01:25 +00:00
Jean-Marc Lasgouttes
7bb99be122 fix problem with nroff detection, remove dead code with old floats, bogus message when closing last buffer, toolbar status when changing fonts in math; remove gnome menubar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3352 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 13:07:27 +00:00
Allan Rae
fde66f936a improved comments in removeAutoInsets()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3351 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 06:42:58 +00:00
Allan Rae
09b61de303 finished fixing removeAutoInsets()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3350 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 04:56:48 +00:00
Lars Gullik Bjønnes
822c8ce430 the aik patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 01:46:33 +00:00
Lars Gullik Bjønnes
33c5d408fa small stupid stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3348 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 00:33:21 +00:00
Allan Rae
17e8d4dfd8 Mostly fixed the 'empty paragraph deletion kills the cursor' problem; and initialise a few more vars in tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3347 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 21:03:30 +00:00
Jean-Marc Lasgouttes
8b8741cd5d fixes/cleanup to dispatch/getStatus stuff; fixes the bug where unwanted function names appear in minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3346 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 20:00:47 +00:00
Dekel Tsur
b44c7a6767 Fix (partially) font bug in compatability code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3345 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 18:40:05 +00:00
Angus Leeming
44806c63f9 Fixes for a broken std::count.
A couple of white-space type changes in mathed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3341 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 17:57:02 +00:00
Angus Leeming
df3128954a Martin's latest math dialog patch using LFUNs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3331 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 16:47:03 +00:00
Angus Leeming
5e1253ee88 Revoke change made the other day to make menus appear as bold.
Change variable names in lyxrc and in FormPreferences to reflect the
new meanings, e.g. popup_normal_font, popup_bold_font, popup_font_encoding.
Change preference dialog labels to suit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3329 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 15:14:22 +00:00
Jean-Marc Lasgouttes
80a721459f fix ascii export with insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3325 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:38:49 +00:00
Jean-Marc Lasgouttes
a02a2714dc updates to latexfeatures stuff; allow empty \document_path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:05:45 +00:00
Angus Leeming
e49241e1e5 Compile fix for DEC cxx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3321 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 14:37:55 +00:00
Jean-Marc Lasgouttes
d719688df3 func_status cleanup from Martin; fix small configure bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3320 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 09:36:35 +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
Angus Leeming
9c4446b159 Fix bugs #32 and #52.
Add a couple of isOK() calls to xforms_helpers functions and remove those
FIXMEs!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3307 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 17:57:21 +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
Angus Leeming
c99b2f4819 Move Box methods and functions out of box.h and into box.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3302 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 14:36:10 +00:00
Angus Leeming
22c088071d Some minor changes to get the code to compile with DEC cxx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3301 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 14:17:54 +00:00
Jean-Marc Lasgouttes
61ccd8b8b5 various fixes from John, Martin and Kayvan, plus one of mine. Read ChangeLogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 10:17:44 +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
Jürgen Vigna
de78a7b2d6 Another fix to Undo/Redo code I hope we get nearer to perfection ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3296 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-04 16:03:53 +00:00
André Pönitz
b63592b7d8 Martin's patches, part I
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3289 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 16:16:39 +00:00
Allan Rae
ce2ec24b67 Modified form of John Levon's icon title patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3277 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 03:14:40 +00:00
Jürgen Vigna
8aa3b4fc77 Small fix in AppendColumn.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3276 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-02 14:04:45 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jean-Marc Lasgouttes
cb52251ccf form para crash fix from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3102 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 11:04:31 +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
65a391b78f do not unselect after a copy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3097 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 15:33:19 +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
6a660a48b7 fix line tracking in tabular latex generation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3094 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 14:27:08 +00:00
Jean-Marc Lasgouttes
b8e78dc35f isTextAt improvements from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3090 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 11:57:57 +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
Dekel Tsur
b1b9e976a4 Fix language of error insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3086 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:28:10 +00:00
André Pönitz
3f1021344b more header disentangling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3082 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 18:03:23 +00:00