eaglexmw / seascope

Automatically exported from code.google.com/p/seascope
Other
0 stars 0 forks source link

enhancement - the text between #ifdef x #endif is grayed out #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
It would be nice to gray out only in the case of #if 0 #endif, but the rest of 
the cases should be displayed as normal code. This is a little distracting in a 
large project when you have a lot of #ifdef

What version of the product are you using? On what operating system?
0.7

Please provide any additional information below.

Original issue reported on code.google.com by ana.ianc...@gmail.com on 27 Aug 2014 at 2:16

GoogleCodeExporter commented 9 years ago
i haven't seen that issue so far.
May be it is specific to header/c file that you are using.
can you see if it is true for a simple small .c/.h file ?

How about seascope 0.8?

Original comment by anil.om...@gmail.com on 27 Aug 2014 at 2:20

GoogleCodeExporter commented 9 years ago
I did this test, the same issue. I attached an image to show you what I mean. 

I forgot to mention that I use ubuntu 14.04. 

version 0.8 looks different. Nothing is grayed out, neither comments or #ifdef. 
Maybe it is because I open them differently. Seascope 0.7 was installed with 
apt-get install and 0.8 from the tar.gz file and opened with python Seascope.py 

Original comment by ana.ianc...@gmail.com on 27 Aug 2014 at 3:46

Attachments:

GoogleCodeExporter commented 9 years ago
For comment you have missing / in expected /*
On my system i see that scintilla does "green" color for comments.

W.r.t. #ifdef, in 0.8 i too see everything "not greyed", similar to you.

Please note that seascope uses py-qscintilla for editor (and its highlighting) 
and looks like changes there have made the difference. there is not much 
seascope can do about it.

Original comment by anil.om...@gmail.com on 27 Aug 2014 at 5:16