Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-core-dev] a few questions about CDT


Thank you Alain.
I have got the syntax hignlight for Fortran work. As, you said, all I have to do is to modify CCodeScanner file. But, now I want to list a tree for Fortran subroutines and functions. Does anybody know what file I should modify so that it can recognize the keywords for Fortran and show them in a  tree.

Besides, it seems there is a filter in CEditor that controls which file will be shown with it. If a file has extension .f, CEditor doesn't show it in the way that FOrtran syntax is highlighted.

advice and help are welcome

Ren




"Alain Magloire" <alain@xxxxxxx>
Sent by: cdt-core-dev-admin@xxxxxxxxxxx

07/08/2003 11:16 AM
Please respond to cdt-core-dev

       
        To:        cdt-core-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [cdt-core-dev] a few questions about CDT



>
> Does anybody know which class in CDT determines the format(color, fontetc)
> for c++ keywords? And, A lot of classes from org.eclipse.cdt.ui component
> are extended from org.eclipse.ui. What extra features do they add into CDT
> user interface?
>

The keywords are define in the CCodeScanner or CPPCodeScanner
Class for the CEditor.

But you raise a good question, the parser may not have the "vision"
of what  is a keyword compare the the CEditor ... Maybe the CEditor
should ask the parser ...  Food for thoughts.

you want to make a PR for this?

> happy independent day!

Some folks are canadian 8-)


_______________________________________________
cdt-core-dev mailing list
cdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-core-dev


Back to the top