Revision: 1042 http://svn.sourceforge.net/geany/?rev=1042&view=rev Author: eht16 Date: 2006-12-02 10:13:42 -0800 (Sat, 02 Dec 2006)
Log Message: ----------- Use the same style for unknown doc keywords (/** @something */) as for known keywords.
Modified Paths: -------------- trunk/ChangeLog trunk/src/highlighting.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-12-01 18:44:35 UTC (rev 1041) +++ trunk/ChangeLog 2006-12-02 18:13:42 UTC (rev 1042) @@ -1,3 +1,9 @@ +2006-12-02 Enrico Tröger enrico.troeger@uvena.de + + * src/highlighting.c: Use the same style for unknown doc keywords + (/** @something */) as for known keywords. + + 2006-12-01 Enrico Tröger enrico.troeger@uvena.de
* geany.glade, src/interface.c, src/geany.h, src/main.c,
Modified: trunk/src/highlighting.c =================================================================== --- trunk/src/highlighting.c 2006-12-01 18:44:35 UTC (rev 1041) +++ trunk/src/highlighting.c 2006-12-02 18:13:42 UTC (rev 1042) @@ -689,11 +689,9 @@ set_sci_style(sci, SCE_C_REGEX, GEANY_FILETYPES_C, 15); set_sci_style(sci, SCE_C_COMMENTLINEDOC, GEANY_FILETYPES_C, 16); set_sci_style(sci, SCE_C_COMMENTDOCKEYWORD, GEANY_FILETYPES_C, 17); + // use for unknown doc keywords (/** @something */) the same style as for known keywords + set_sci_style(sci, SCE_C_COMMENTDOCKEYWORDERROR, GEANY_FILETYPES_C, 17);
- SSM(sci, SCI_STYLESETFORE, SCE_C_COMMENTDOCKEYWORDERROR, invert(0x0000ff)); - SSM(sci, SCI_STYLESETBACK, SCE_C_COMMENTDOCKEYWORDERROR, invert(0xFFFFFF)); - SSM(sci, SCI_STYLESETITALIC, SCE_C_COMMENTDOCKEYWORDERROR, TRUE); - // is used for local structs and typedefs set_sci_style(sci, SCE_C_GLOBALCLASS, GEANY_FILETYPES_C, 18);
@@ -775,11 +773,9 @@ set_sci_style(sci, SCE_C_REGEX, GEANY_FILETYPES_CPP, 15); set_sci_style(sci, SCE_C_COMMENTLINEDOC, GEANY_FILETYPES_CPP, 16); set_sci_style(sci, SCE_C_COMMENTDOCKEYWORD, GEANY_FILETYPES_CPP, 17); + // use for unknown doc keywords (/** @something */) the same style as for known keywords + set_sci_style(sci, SCE_C_COMMENTDOCKEYWORDERROR, GEANY_FILETYPES_CPP, 17);
- SSM(sci, SCI_STYLESETFORE, SCE_C_COMMENTDOCKEYWORDERROR, invert(0x0000ff)); - SSM(sci, SCI_STYLESETBACK, SCE_C_COMMENTDOCKEYWORDERROR, invert(0xffffff)); - SSM(sci, SCI_STYLESETITALIC, SCE_C_COMMENTDOCKEYWORDERROR, TRUE); - // is used for local structs and typedefs set_sci_style(sci, SCE_C_GLOBALCLASS, GEANY_FILETYPES_CPP, 18);
@@ -1457,11 +1453,9 @@ set_sci_style(sci, SCE_C_REGEX, GEANY_FILETYPES_JAVA, 15); set_sci_style(sci, SCE_C_COMMENTLINEDOC, GEANY_FILETYPES_JAVA, 16); set_sci_style(sci, SCE_C_COMMENTDOCKEYWORD, GEANY_FILETYPES_JAVA, 17); + // use for unknown doc keywords (/** @something */) the same style as for known keywords + set_sci_style(sci, SCE_C_COMMENTDOCKEYWORDERROR, GEANY_FILETYPES_JAVA, 17);
- SSM(sci, SCI_STYLESETFORE, SCE_C_COMMENTDOCKEYWORDERROR, invert(0x0000ff)); - SSM(sci, SCI_STYLESETBACK, SCE_C_COMMENTDOCKEYWORDERROR, invert(0xffffff)); - SSM(sci, SCI_STYLESETITALIC, SCE_C_COMMENTDOCKEYWORDERROR, TRUE); - set_sci_style(sci, SCE_C_GLOBALCLASS, GEANY_FILETYPES_JAVA, 18); }
@@ -2625,11 +2619,9 @@ set_sci_style(sci, SCE_C_REGEX, GEANY_FILETYPES_D, 15); set_sci_style(sci, SCE_C_COMMENTLINEDOC, GEANY_FILETYPES_D, 16); set_sci_style(sci, SCE_C_COMMENTDOCKEYWORD, GEANY_FILETYPES_D, 17); + // use for unknown doc keywords (/** @something */) the same style as for known keywords + set_sci_style(sci, SCE_C_COMMENTDOCKEYWORDERROR, GEANY_FILETYPES_D, 17);
- SSM(sci, SCI_STYLESETFORE, SCE_C_COMMENTDOCKEYWORDERROR, invert(0x0000ff)); - SSM(sci, SCI_STYLESETBACK, SCE_C_COMMENTDOCKEYWORDERROR, invert(0xffffff)); - SSM(sci, SCI_STYLESETITALIC, SCE_C_COMMENTDOCKEYWORDERROR, TRUE); - // is used for local structs and typedefs set_sci_style(sci, SCE_C_GLOBALCLASS, GEANY_FILETYPES_D, 18); } @@ -2693,11 +2685,9 @@ set_sci_style(sci, SCE_C_REGEX, GEANY_FILETYPES_FERITE, 15); set_sci_style(sci, SCE_C_COMMENTLINEDOC, GEANY_FILETYPES_FERITE, 16); set_sci_style(sci, SCE_C_COMMENTDOCKEYWORD, GEANY_FILETYPES_FERITE, 17); + // use for unknown doc keywords (/** @something */) the same style as for known keywords + set_sci_style(sci, SCE_C_COMMENTDOCKEYWORDERROR, GEANY_FILETYPES_FERITE, 17);
- SSM(sci, SCI_STYLESETFORE, SCE_C_COMMENTDOCKEYWORDERROR, invert(0x0000ff)); - SSM(sci, SCI_STYLESETBACK, SCE_C_COMMENTDOCKEYWORDERROR, invert(0xffffff)); - SSM(sci, SCI_STYLESETITALIC, SCE_C_COMMENTDOCKEYWORDERROR, TRUE); - // is used for local structs and typedefs set_sci_style(sci, SCE_C_GLOBALCLASS, GEANY_FILETYPES_FERITE, 18); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.