Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Applied: [cdt-patch] C Model Update - show the static element s i n outlin e view

Title: Not Applied: [cdt-patch] C Model Update - show the static elements in outline view

-----Original Message-----
From:
Amer, Hoda [mailto:hamer@xxxxxxxxxxxx]
Sent:
Thursday, March 27, 2003 4:39 PM
To: '
cdt-patch@xxxxxxxxxxx'
Subject: [cdt-patch] C Model Update - show the static element s in outlin e view

 

This is an updated patch.

The static sign will show if the parser sets isStatic() to true for any element. For now, I am just saving this info in the element info. We could change it later if we need another icon for variables and functions.

 

Thanks

Hoda

 

-----Original Message-----
From: Schaefer, Doug [mailto:dschaefer@xxxxxxxxxxxx]
Sent:
Wednesday, March 26, 2003 10:42 PM
To: ''cdt-patch@xxxxxxxxxxx' '
Subject: Not Applied: [cdt-patch] C Model Update - show the static element s in outline view

 

Hi Hoda,

I found one problem with this patch.  Variables and functions marked file static were marked with the 'S' as well.  I'm not sure this is what you wanted, or correct.  For example, if I have a .cpp file with the following line:

static const int foo;

foo shouldn't be marked static.  That is assuming static means class scoped.

Thanks,
Doug

-----Original Message-----
From: Amer, Hoda
To: 'cdt-patch@xxxxxxxxxxx'
Sent: 3/26/2003 10:58 PM
Subject: [cdt-patch] C Model Update - show the static elements in outline view

This patch updates the C Model to show the static icon decorator for
static
elements.

Thanks
Hoda

 <<cdt.core.Mar26.txt>>  <<cdt.ui.Mar26.txt>>


Back to the top