Commit Graph

32 Commits

Author SHA1 Message Date
André Pönitz
2e968d0661 next try
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 17:57:57 +00:00
André Pönitz
bbb9cb65e7 simplify color cache code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 20:29:48 +00:00
Jürgen Spitzmüller
c149fb72e0 * Color.cpp:
- use hex names for color_addedtext and color_deletedtext to prevent an assertion (bug 4814).

This has already been done for other colors. However, maybe we should rather separate x11 color names and hex names.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24585 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-02 16:24:50 +00:00
Jean-Marc Lasgouttes
9b4a26a252 rename assert.h to lassert.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 08:26:40 +00:00
André Pönitz
7f461f4392 infrastructure for 'graceful asserts'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-10 21:49:34 +00:00
Edwin Leuven
fdaf744c4a implement separate color for text in selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24033 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 11:21:36 +00:00
Uwe Stöhr
f2543ccf9c only cosmetics
Color.cpp: - clarify that this is the label color (to be uniform with the other label colors)
           - greyedout label color slightly changed from red to red with a bit blue (as we already have red for other stuff)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23377 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-01 23:50:08 +00:00
Stefan Schimanski
76c3424680 * grey20 is not available on all platforms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23355 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-29 15:49:13 +00:00
Stefan Schimanski
e59560a1fa * the automatic arity changing proposed by Uwe: you go into a macro and type \#9. The arity is visually adapted right away. The real change though takes place when you leave the macro with the cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23350 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-29 10:02:25 +00:00
Bernhard Roider
a8708a5e9a fix bug 4583: crash when processing colored box
LaTeXFeatures::getPackages() assumes that lcolor.getX11Name(Color_shadedbg) returns a hex color.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23336 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 21:06:00 +00:00
Stefan Schimanski
23f76cf934 * grey70 does not exist on linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23243 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 13:05:57 +00:00
Stefan Schimanski
1bf7b59d60 * completion infrastructure
* completion support for mathed
* experimental completion support for text


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 19:42:34 +00:00
Uwe Stöhr
f35ff8f60d Color.cpp, ColorCode.h: define new colors for inset labels and insets text
stdinsets: use the new colors to allow the users to customize them

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23029 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-15 23:38:16 +00:00
Abdelrazak Younes
9abb7db468 getting rid of superfluous std:: statements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:28:07 +00:00
Abdelrazak Younes
b89cc942eb 'using namespace lyx::support' instead of 'using support::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:57:56 +00:00
Abdelrazak Younes
9383f4c3c6 'using namespace std' instead of 'using std::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:16:00 +00:00
André Pönitz
d70c139c2f unneeded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 22:18:37 +00:00
André Pönitz
9d0ea8aeff Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
Now support/* should have no dependencies on src/* anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:04:28 +00:00
Uwe Stöhr
98a856a301 add a new color to distinguish \newpage from \pagebreak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21785 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 21:53:39 +00:00
André Pönitz
e1ce2f92db reduce line noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 20:04:51 +00:00
André Pönitz
09df753df4 pimpl not needed here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21395 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-02 23:42:27 +00:00
Stefan Schimanski
5a7a53e346 * color definitions for math macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 10:57:20 +00:00
Abdelrazak Younes
eea79637c7 Move Color::color enum to ColorCode.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 12:41:02 +00:00
André Pönitz
a33b2f1ca9 remove HSV color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19450 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 11:19:26 +00:00
Jürgen Spitzmüller
0f2bcd0d0c * src/Color.cpp:
- fix encoding

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18287 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 16:35:31 +00:00
Jürgen Spitzmüller
babc15ea87 * src/Color.cpp:
- add proper x11 colors for lyxadded and lyxdeleted (preventing an assert in RGBColor)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 16:24:03 +00:00
Michael Schmitt
8684c07664 output changes by means of xcolor and soul
- when exporting with pdflatex 
  - when exporting with latex and dvipost is not available
rename two colors (strikeout => deletedtext, newtext => addedtext)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 15:17:57 +00:00
Bo Peng
4d0552dd80 add color mathcorners and implement mathbg (partially)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18277 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 06:24:46 +00:00
Bo Peng
e44fc571cc revert wrongly committed patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18263 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 02:34:56 +00:00
Bo Peng
a8e9fe82d0 lib/lyx2lyx/lyx_1_5.py: fix revert of listings insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 02:28:14 +00:00
André Pönitz
02703f47bf I guess Windows folks are not too happy with files named color.h and Color.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18048 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 19:21:38 +00:00
André Pönitz
5008ee540f rename LColor into Color
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 17:34:20 +00:00