Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347336

Summary: Function Declarations aren't highlighted in bold in Remote C/C++ Editor
Product: [Tools] PTP Reporter: Qirui Yang <yangqiru>
Component: RDTAssignee: Project Inbox <ptp-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jwsliu, recoskie
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Qirui Yang CLA 2011-05-26 11:29:00 EDT
Build Identifier: 5.0.0.201105231934

Function declarations don't appear in bold in default(although syntax highlighting is set properly in Preference->C/C++ ->Editor->Syntax Coloring->Code->Function Declarations). Need to select one more option and click apply in for it to work.

Reproducible: Always

Steps to Reproduce:
1.Create an empty remote Makefile project.
2.Idd a new Class to the project
3.In <classname>.cpp file, add following lines:

   int main(void){
	return 0;
}
4. Word 'main' is not bold. 
5. Goto Preference->C/C++ ->Editor->Syntax Coloring->Code->Function Declarations, select Italic and click Apply. Now its bold.
Comment 1 John Liu CLA 2011-05-26 13:58:58 EDT
This can be reproduced by ptp_4_0 based release as well, the problem also happens to a function declaration.
Comment 2 Chris Recoskie CLA 2011-05-26 14:16:06 EDT
This is because semantic highlighting is not supported yet.