Commit Graph

623 Commits

Author SHA1 Message Date
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
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
Dekel Tsur
c5e9788926 Remove geometry "fix"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3079 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 14:59:54 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
Dekel Tsur
3b9c75708d Use the twoside option of geometry package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-25 18:13:52 +00:00
Dekel Tsur
8c1402faba Better handling of unknown tokens
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3071 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-25 17:58:05 +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
0d73b566a1 autologofication cleanup from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3064 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-23 09:59:01 +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
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
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
48fa20dfe9 avoid closing server in emergency exit if there is no server
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3028 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-14 12:00:51 +00:00
Jean-Marc Lasgouttes
737cd9d8f3 fix parsing of keyboard sequences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3027 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-14 11:31:14 +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
5843696fe9 fixes to lyxserver from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3012 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 17:43:21 +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
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
Jean-Marc Lasgouttes
fcee90ebd5 two patches from John, and a moving math panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2983 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 11:46:06 +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
José Matox
83e7c2cff7 Improved support for docbook export in inset text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2975 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 13:22:43 +00:00
Jean-Marc Lasgouttes
f38f4b1dee fix the "save defaults" problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2973 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 11:39:58 +00:00
Jean-Marc Lasgouttes
f73a9f37f4 mathed compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2971 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 10:25:05 +00:00
Jean-Marc Lasgouttes
9c4d5b9889 John's completion stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2965 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-05 17:07:23 +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
José Matox
45a5dda367 Added "using" statement that I missed yesterday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2961 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-03 11:43:23 +00:00
José Matox
15a971fec2 Added suport for index and caption insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2958 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-02 16:11:19 +00:00
Jean-Marc Lasgouttes
60ca300e1d skak support, John's ERT fixes, loclae blunder fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2955 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 15:19:49 +00:00
Jean-Marc Lasgouttes
6a10fbcc39 fix locale problem with --disable-nls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2952 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 12:43:09 +00:00
Jean-Marc Lasgouttes
23870e9920 finally get rid of BUGS.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2946 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-30 17:05:57 +00:00
Jürgen Vigna
e3052dc18b Changes to the longtable support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2934 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 15:07:39 +00:00
José Matox
fe1306ac65 Docbook supported version is now 4.1 (only 3 lines changed for that).
Removed unused function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2932 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 13:08:52 +00:00
José Matox
8cd5b4a291 Fixed longtable export.
Added a wrapper when a table is not inside a float.
Small update for date style, allow it to be left aligned.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2928 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 07:43:34 +00:00
José Matox
922ed31d7a Cleaned the preamble generation for linuxdoc/docbook.
Added lyx generated SGML entities (now only for the menu separator).
Cleaned the code from XML-ism.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2921 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:42:14 +00:00