Commit Graph

1986 Commits

Author SHA1 Message Date
Angus Leeming
df46e40ccb Andr�'s cosmetic changes to sp_spell.C.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2873 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 14:05:47 +00:00
André Pönitz
efbcfbc067 draw delimiters a bit smaller
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2872 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 14:05:04 +00:00
André Pönitz
748af630f5 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2871 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 13:29:46 +00:00
André Pönitz
bb3a2ccaa5 fix off-by-one-pixel drawing problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2870 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 13:15:34 +00:00
André Pönitz
3e2e63a4b4 move selected part to script when pressing ^ or _
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2869 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 13:05:21 +00:00
André Pönitz
6317b96d19 Fix macro redrawing bug. Thanks, Juergen!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2868 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 12:58:50 +00:00
André Pönitz
9295f8236e Use references instead of pointers where possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2867 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 12:02:49 +00:00
Angus Leeming
ced0711d20 J�rgen S's final tweak to Document->Paper?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2866 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 08:34:29 +00:00
Jean-Marc Lasgouttes
ec03124798 fixes to tex-info stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2865 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 08:15:47 +00:00
André Pönitz
739f74c54a fix out-of-bounds bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2864 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 07:52:13 +00:00
Angus Leeming
cdc0cab2bc Various fixes suggested by J�rgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2863 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-11 17:28:28 +00:00
Angus Leeming
898402adc6 Get it to compile again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2862 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-11 16:24:07 +00:00
Jean-Marc Lasgouttes
e05ba0a4dc disable thesaurus entry when aiksaurus not found ; add Herbert and Mate to CREDITS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2861 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-11 10:29:41 +00:00
André Pönitz
30d9929153 change order of ^ and _ in LaTeX output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2860 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 17:26:44 +00:00
Angus Leeming
ba61c3aa4c Clean-up of Herbert's Texinfo dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 16:45:05 +00:00
André Pönitz
fbbf8bded3 don't touch your keyboard too often...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2858 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 16:39:42 +00:00
André Pönitz
cf3bc4d06e small fixes to bugs discoverd by Dekel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2857 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 16:35:18 +00:00
Angus Leeming
bcba589379 Andr�'s b.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2856 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 15:28:19 +00:00
André Pönitz
dbf9e27a97 remove inconsistency del/backspace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2855 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 14:30:28 +00:00
Angus Leeming
2d2ac5abf5 Andr�'s remove greek_kb_flag one-liner.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2854 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 14:30:19 +00:00
André Pönitz
8f2f524d58 remove unneeded global var greek_kb_flag
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2853 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 13:44:58 +00:00
André Pönitz
4253792bd6 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2852 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-10 13:20:51 +00:00
Angus Leeming
73147465e0 Revert change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2851 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-09 16:28:02 +00:00
Angus Leeming
b31ab56c83 Herbert's TeX Info extravaganza.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2850 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-09 15:20:10 +00:00
Angus Leeming
e403b5aa24 Further improvements to the paper tab of the document dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2849 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-09 12:36:36 +00:00
Jean-Marc Lasgouttes
305c07b193 better latin3&4 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2848 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-08 14:50:16 +00:00
Jean-Marc Lasgouttes
c8aeaa9552 finish merging of the bits of win32 port that have been sent to me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2846 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-08 14:09:06 +00:00
Jean-Marc Lasgouttes
3c15d4e3bd more win32 port integration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2845 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-08 12:37:39 +00:00
Jean-Marc Lasgouttes
370fe4e994 latin3 support ; latin9 improvements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2844 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-05 16:25:34 +00:00
Jean-Marc Lasgouttes
74b26c7555 fix triple click
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2843 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-04 14:19:26 +00:00
Jean-Marc Lasgouttes
edb5709423 small tweak to aboutlyx appearance
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2842 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-04 14:12:55 +00:00
Jean-Marc Lasgouttes
8a8909e664 load babel as _last_ package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2841 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-04 13:00:25 +00:00
Jean-Marc Lasgouttes
eeb1a304e2 win32 port updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2840 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-04 09:57:02 +00:00
José Matox
98cd1026da Remove Latex tag from linuxdoc and docbook related layout files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2839 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-03 17:28:08 +00:00
Angus Leeming
afb64cfd01 J�rgen Spitzm�ller's changes to the document dialog. Please test hard!!!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2838 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-03 16:31:10 +00:00
Jean-Marc Lasgouttes
53c3269cf5 more tweaks to version_info stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2837 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-03 15:49:32 +00:00
Jürgen Vigna
b64fe15c3e Fixed changed-status for collapsable insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2836 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-03 14:28:02 +00:00
Angus Leeming
31baf131cb Re-position version string slightly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2835 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-03 09:06:28 +00:00
Angus Leeming
f360c39690 Fix the WorkArea problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2834 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-02 16:00:54 +00:00
André Pönitz
c5e13278e7 leave red backslash as visual clue in formula when typing macro names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2833 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-02 15:01:57 +00:00
André Pönitz
d2a9294e3f sanity check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2832 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-02 10:50:10 +00:00
Jean-Marc Lasgouttes
e266fd847f more warnings go to /dev/null
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2831 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 15:31:59 +00:00
Angus Leeming
0a1b163e7f J�rgen Spitzm�ller's patch to disable "Special" when appropriate.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2830 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 14:50:08 +00:00
Angus Leeming
6fa3f87ef0 Fix working of the spellchecker dialog with ispell when there are no
known replacements to an incorrectly spelt word.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2829 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 14:00:46 +00:00
Jean-Marc Lasgouttes
8b7ae0e09d small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2828 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 13:50:31 +00:00
André Pönitz
e9baa06e51 remove public method;
add a static_cast<>


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2827 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 12:23:00 +00:00
Jean-Marc Lasgouttes
e597fc7ae4 fix the size of some variables to avoid compaq cxx warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2826 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 12:10:32 +00:00
Jürgen Vigna
12cc8f7022 Honor FINISHED_XXX flags in LocalDispatch of InsetText/Tabular.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2825 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 11:55:08 +00:00
Dekel Tsur
1c859f1629 Small fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2819 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-30 22:41:32 +00:00
Dekel Tsur
2c5a232b08 Do not ignore newline/hfill chars when copying to the clipboard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2818 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-30 22:24:49 +00:00
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
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
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
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
Jean-Marc Lasgouttes
870564775b one more helper method in Bufferparams
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2767 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 15:39:58 +00:00
Jürgen Vigna
a2fcf4ed3e Darker background on new banner!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2763 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 10:18:31 +00:00
Angus Leeming
82d18e917b set minimum size to the main window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2762 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-17 09:16:09 +00:00
André Pönitz
02ec9422d0 use 'size_type' at least for container-like stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2761 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 14:05:57 +00:00
Angus Leeming
72cc3e1f65 Add "jpg" to list of recognized file extensions (from J�rgen Spitzm�ller).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2760 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 13:46:55 +00:00
André Pönitz
5ca510e4c5 Jean-Marc's patch, BUGS update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2759 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 11:03:41 +00:00
André Pönitz
520deae094 buglist update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2758 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 16:41:05 +00:00
André Pönitz
a4dab932ac Return UNDISPATCHED instead of FINISHED in the default branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2757 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 16:14:43 +00:00
Angus Leeming
0fa2f8db17 Graphics dialog fixes following Michael's suggestions.
Probably doesn't fix memory access problem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2756 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 12:37:40 +00:00
Angus Leeming
82ed71bfcb Ok, so I'm a donkey! Easy, easy fix to that ol' memory leak. (And it was
suggested days ago by Lars too :-()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2753 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 11:44:07 +00:00
Dekel Tsur
1bfe247634 Choose labels from other documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2752 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 09:57:06 +00:00
Angus Leeming
5fa24cd3b7 J�rgen Spitzm�ller's form_graphics patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2751 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 09:34:39 +00:00
André Pönitz
fac52d4746 small deco drawing stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2749 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 16:24:36 +00:00
Angus Leeming
a5f0a9f693 Fix uninitialised memory error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2748 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 16:18:22 +00:00
André Pönitz
26db643696 brush off the decoration drawing code a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2747 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 16:13:31 +00:00
André Pönitz
42c8e7bff9 don't draw \vec, \hat etc much wider than LaTeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2746 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 15:56:09 +00:00
André Pönitz
6c32034cce allow editing macro names using backspace while typing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2745 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 14:39:55 +00:00
André Pönitz
c740d233cc interpret a typed \#1 as math-macro-arg 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2744 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 14:31:18 +00:00
André Pönitz
e7209bd562 fix drawing glitch in MathMacroArg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2743 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 13:43:59 +00:00
André Pönitz
d9738adfd7 \hat & subscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2742 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 13:23:39 +00:00
Jean-Marc Lasgouttes
3367b31201 tentative fix to docclass combox problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2741 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 13:12:22 +00:00
André Pönitz
c50bd2b573 fix delimiter handling for \, |, and /
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2740 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 12:51:55 +00:00
Jean-Marc Lasgouttes
43cb604df7 fix indexing first word in a list layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2738 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 10:41:25 +00:00
André Pönitz
0e0913d030 another parser fix (nested {} and \left..\right and \atop)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2737 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:58:25 +00:00
Angus Leeming
228b7a21b8 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2736 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:36:11 +00:00
Angus Leeming
798f00a0a8 Inset dialogs: remain connected to the inset on "Apply" by default, except
for the citation dialog which disconnects. Should be much more intuitive
behaviour again.

Non-inset dialogs (eg preamble): connect() on show, enabling the dialog to
act on an updateBufferDependent signal. Change buffer and the preamble
will update! (rather embarrassed that this bug crept in!)

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2735 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:35:25 +00:00
Angus Leeming
f093fd9b68 Fix spurious warning about a shortcut when the dialog is built.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2734 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:30:47 +00:00
Angus Leeming
10e81341c1 return SMI_VALID on input.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2733 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:29:46 +00:00
André Pönitz
e410a7e2a4 fix parser bug if \atop etc appear inside \left ... \right
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2731 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:17:46 +00:00
André Pönitz
445f2a9851 try to fix free memory leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2730 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 07:51:53 +00:00
André Pönitz
4c973a6a7e fix bug discovered by Garst
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2729 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 07:48:48 +00:00
Angus Leeming
6a3d139c9e Fix for float dialog bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2728 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 17:27:28 +00:00
André Pönitz
c800129f2b partial fix for the macro problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2727 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 15:46:51 +00:00
André Pönitz
cd093e5884 fix 'purple box has wrong size in x_{}'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2726 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 14:15:30 +00:00
Jean-Marc Lasgouttes
a4eb2c3040 support for new -version command line option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2725 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 13:13:03 +00:00
André Pönitz
b6113c5b8a fix cursor positioning using the mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2724 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 12:46:58 +00:00
Angus Leeming
d75ce75b25 Activate Ok, Apply buttons when altering all widgets appropriately.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2723 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 11:15:33 +00:00
André Pönitz
e4c58b72be try to do with super- and subscripts what TeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2722 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 10:58:17 +00:00
Angus Leeming
e670bed4c5 In the Document dialog, enable the "Author-Year/Numerical" citation choice
only when the "Use natbib" checkbox is active.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2720 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 08:46:30 +00:00
Angus Leeming
7d09d97b56 Revert "fix" to get LyX working again. Sorry for being precipient.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2719 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 14:00:33 +00:00
Angus Leeming
698d6be4e4 Do it right!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2718 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 12:37:00 +00:00
Angus Leeming
5bca243109 J�rgen Spitzm�ller's tweak of the Paragraph dialog.
Finally (?) fix memory leak in Maths Bitmap dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2717 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 12:25:40 +00:00
André Pönitz
168d6528f4 fix drawing glitch (wrong font sizes in displayed arrays)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2716 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 09:35:12 +00:00
Lars Gullik Bjønnes
26063b2ef4 fix linking issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2715 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 08:37:25 +00:00
Lars Gullik Bjønnes
4ec0150a46 fix leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2714 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 23:00:05 +00:00
Lars Gullik Bjønnes
271f8d7eec some mods I had in my local tree, mostly small stuff, perhaps minus the the Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2713 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 22:02:19 +00:00
Angus Leeming
ddc4c4ec36 Various small bits n pieces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2712 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 17:55:37 +00:00
Angus Leeming
8e92d36142 Fix semantics of Replace in Find & Replace dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2711 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 17:52:50 +00:00
Angus Leeming
bb6f1f7c41 Remove redundant LFUNs,
LFUN_HELP_COPYRIGHT, LFUN_HELP_CREDITS, LFUN_HELP_VERSION.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2710 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 17:51:00 +00:00
Angus Leeming
dfea8a9dad Fix bug:
The "Maths spacing" dialog is broken ("Apply" does not work without former
user change in the dialog)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2709 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 16:12:20 +00:00
Angus Leeming
572b58dfad blah
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2708 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 15:58:45 +00:00
Jean-Marc Lasgouttes
9359baacf8 bug fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2707 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 15:41:36 +00:00
Angus Leeming
ef1a996e2f Bug fix:
If you start LyX and open the Preferences dialog, "Apply" is activated
even though no change has been made so far


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2706 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 14:42:39 +00:00
Angus Leeming
4a5f988d39 J�rgen Spitzm�ller's character dialog patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2705 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 11:53:12 +00:00
Angus Leeming
5bc3841d41 Rob Lahaye's "iconify dialogs with main window if so desired" patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2703 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 10:11:02 +00:00
John Levon
8adbe1580e fix minipage layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2702 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-06 14:24:09 +00:00