Commit Graph

2103 Commits

Author SHA1 Message Date
Dekel Tsur
708b299287 Call to textrow.start after a multi-line inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2817 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-29 22:22:01 +00:00
Dekel Tsur
88c555f798 Misc. small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2816 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-28 20:23:49 +00:00
Angus Leeming
ab03bb37ce Tweak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2815 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-28 09:10:16 +00:00
Angus Leeming
2c9a2bf367 ane names to the LyXSizeNames array.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2814 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 16:51:34 +00:00
Angus Leeming
61104e3a27 Changed the binding for "font-size decrease" from "M-s plus" to "M-s ~S-plus".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2813 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 16:49:25 +00:00
Jean-Marc Lasgouttes
ae62029959 qt2 config fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2812 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 16:03:47 +00:00
Angus Leeming
5dc77bb072 Fix silly little bug that resulted in only being able to use the
spell checker once.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2811 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 13:10:28 +00:00
Jean-Marc Lasgouttes
b417629800 Document dialog cleanup, take 4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2810 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 12:13:51 +00:00
Jean-Marc Lasgouttes
092266c27d reformatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2809 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 10:52:53 +00:00
Jean-Marc Lasgouttes
7cf094f99e fix selection bug + latin9 tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2808 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 09:52:06 +00:00
Angus Leeming
91777cb3a1 Remove old splash dialog(s).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2807 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 09:45:57 +00:00
Angus Leeming
59b4737cfd Add splash to WorkArea. Remove calls to old splash dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2806 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 09:43:31 +00:00
Jean-Marc Lasgouttes
25409ce797 change X-windows to X window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2805 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-27 09:39:25 +00:00
André Pönitz
0f5ff99bc1 Even more ugly changes and a new file dependency to shut up Jean-Marc's
compiler *sigh*


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2804 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-26 16:52:34 +00:00
André Pönitz
7435fca771 further code uglification to make Jean-Marc's compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2803 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-26 15:20:45 +00:00
Jean-Marc Lasgouttes
3039a800bc do not put version information in config.h ; please test
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2802 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-26 09:57:01 +00:00
Angus Leeming
55a2ce9c09 * Define a new member variable to ControlButtons, emergency_exit_
* Use it to exit gracefully if the speller cannot be launched when
spellchecking.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2801 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-25 14:34:24 +00:00
André Pönitz
558ce4437f use std::swap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2800 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-25 06:47:47 +00:00
Angus Leeming
86ff350f06 Clean-up the behaviour of the inset when not displaying the image.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2799 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 17:12:27 +00:00
Angus Leeming
90f609a396 Prettify the names of the buffers displayed in the list of buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2798 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 16:55:45 +00:00
Angus Leeming
d0fb0834e3 * New xforms helper functions getVectorFromChoice, getVectorFromBrowser
* Used in the citation and reference dialogs to only update the choices and
  browsers when absolutely necessary.

* Renamed the widgets in the reference dialog in standard style.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2797 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 16:37:24 +00:00
André Pönitz
1129104282 changed cursor movement/deletion behaviour in super/subscripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2796 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 16:25:06 +00:00
Angus Leeming
506d970e27 "Correct" way to prevent spellchecking in the ERT inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2795 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 14:29:27 +00:00
André Pönitz
0e9148aa78 remove unneeded methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2794 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 14:03:48 +00:00
André Pönitz
f5f9c46c35 Use dummy Buffer * parameters to make Jean-Marc's compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2793 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 13:38:52 +00:00
André Pönitz
207bc5e3f4 Angus' patch to comment out debug mode's coloured frames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2792 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 12:48:31 +00:00
Angus Leeming
9c6e6a958a Generalise Dekel's fix to the "select choice < 1" problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2791 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 10:49:55 +00:00
Jürgen Vigna
46295a02f4 Some comments to the different cursors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2790 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 08:59:31 +00:00
Dekel Tsur
1b6f3b67d3 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2789 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 18:23:02 +00:00
Dekel Tsur
1981eeb134 Fix crash when using dialog with keyboard:
The problem also happen with other dialogs. For example, open the document
dialog, press alt+p (pagestyle), and press enter -> The pagestyle button
becomes empty. Furthermore, when pressing "Apply", lyx will crash.
I havn't fixed the other dialogs, because I don't know if my fix is good
(maybe there is a simple fix to the problem).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2788 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 18:19:16 +00:00
Angus Leeming
98f2f8799e Small clean-up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2787 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 16:24:28 +00:00
Angus Leeming
a25d7f90ce The reference dialog now disconnects from the inset on Apply. Its behaviour
is now analogous to that of the citation dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2786 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 16:23:31 +00:00
Angus Leeming
a2ef5d11b3 Renamed selectNextWord as selectNextWordToSpellcheck.
Modified selectNextWordToSpellcheck to not select words inside an ERT inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2785 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 16:21:23 +00:00
Jean-Marc Lasgouttes
a10b503e59 document layout, service pack 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2784 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 15:20:17 +00:00
Angus Leeming
4851d24977 Take account of the monochrome, grayscale of color preferences option.
(Doesn't seem to work on my box: is this because I have a TrueType
display?)

Feedback appreciated.
Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2783 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 15:17:01 +00:00
Angus Leeming
414b45b140 Don't display the image if params.display == NONE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2782 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 14:16:10 +00:00
Jean-Marc Lasgouttes
af558da34b fix qt2 compilation + lyx.spec update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2781 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 12:11:24 +00:00
Angus Leeming
70a852b5e1 If a pixmap contains a transparent colour, then set it to the colour of the
background. (With thanks to John Levon.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2780 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 10:52:48 +00:00
Jean-Marc Lasgouttes
846ea78a7b Juergen class-change patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2779 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 10:41:09 +00:00
Angus Leeming
f05b2c68e5 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2778 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 13:18:47 +00:00
Angus Leeming
47b06816be Add LColor::graphicsbg and use it in the graphics and figure insets.
Ensures that a figure with a transparent colour can be viewed
easily if the LyX screen's background colour is dark.

Prevent deletion of the image file if no conversion is required.

This patch works like a charm with the (old) figinset. When testing
the graphics inset, however, I find that colour "None" in an XPM file
is displayed as black. I have no idea why. This appears to be true of
some other graphics viewers also. E.g., KDE 2's pixie displays "None"
as black but the venerable xv works fine.

Maybe it's my version of the xpm library, but v3.4.11 appears to be
right up to date.

Can people test on their machines and/or offer suggestions here?
Angus

p.s. You can test with the XPM files in lib/images. They will no longer
be deleted if you load them into LyX!

A.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2777 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 13:16:17 +00:00
Jean-Marc Lasgouttes
eec568d870 fix free memory read when pasting + some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2776 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 10:16:24 +00:00
Jean-Marc Lasgouttes
ca3fd99573 fix typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2775 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 10:06:03 +00:00
Jean-Marc Lasgouttes
c4bac08bbb fix the po files debacle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2774 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 09:28:51 +00:00
Jean-Marc Lasgouttes
a80d5b2345 lyx.spec overhaul
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2773 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-20 09:27:22 +00:00
Dekel Tsur
bc5e92cb03 More symbols (mainly arrows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2772 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-19 17:22:34 +00:00
Dekel Tsur
aa32bf2dcb Check if font is available without loading the font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2771 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-19 16:36:39 +00:00
John Levon
72867958de compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2770 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-18 12:59:06 +00:00
Angus Leeming
6bbcb978c5 Set the bounds to the slider, so it updates during a spellchecking session.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2769 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-18 12:22:08 +00:00
Angus Leeming
59df20fcc6 The redesigned graphics dialog, some tweeks to the preferences and ref
dialogs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2768 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-18 10:58:35 +00:00