[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] RE: [dsdp-dd-dev] Editor technology subgroup
|
Hi,
the first enhancement request is probably covered by
Bug 82279 - Customisable syntax highlighting
https://bugs.eclipse.org/bugs/show_bug.cgi?id=82279
I'll put it on my list of bugs to consider for CDT 4.0.
The other is already a plan item for 4.0:
Bug 81511 - Unreachable #ifdef blocks should be marked in editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=81511
Toni
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of kesselhaus@xxxxxxx
> Sent: Thursday, May 11, 2006 6:13 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] RE: [dsdp-dd-dev] Editor technology subgroup
>
> A really nice to have would be the feature to add new
> highlighting groups
> and add keywords/regexp to highlight user definable codefragments.
>
> e.g.
> 'group X' --> uchar, uword, ... --> Color: darkblue, Font: bold
> 'group UserTypes' --> S_* E_* --> Color: DarkOrange, Font: italic
>
> where S_* will highlight e.g. all
> typedef struct {
>
> } S_MYSTRUCT; <--
>
> typedef enum {
>
> } E_MYENUM;
> or
>
> S_MYSTRUCT s_mystruct; <--
> E_MYENUM e_myenum; <--
>
>
> Also, would be cool, to e.g. change background of code
> fragments if they are
> ifdef'd out.
>
> e.g. #define ABC 1
> #if defined(ABC)
> #if (ABC == 0)
> <... grey background start ...>
> #define XYZ 2
> <... grey background end ...>
> #elif (ABC == 1)
> <... normal background start ...>
> #define XYZ 1
> <... normal background end ...>
> #else
> <... grey background start ...>
> #define XYZ 0
> <... grey background end ...>
>
> #endif
> #endif
>
> Of course highlighting/coloring shall be set by preferences.
>