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

Bug 337632

Summary: Unable to change syntax highlighting colours of certain arithmetic characters in Photran
Product: [Tools] PTP Reporter: Jannes <jannes.venter>
Component: Photran.Editor & Outline ViewAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: com-eclipse-dot-org
Version: unspecified   
Target Milestone: 6.0.7   
Hardware: PC   
OS: Windows 7   
URL: http://dev.eclipse.org/mhonarc/lists/photran/msg01585.html
Whiteboard:

Description Jannes CLA 2011-02-19 05:17:53 EST
In Photran 6.0.5.201011100956:

Changing syntax highlighting for Fortran code is not possible for certain types of characters. These seem to include * + - , etc. 

To reproduce:
Change highlighting via |Windows > Fortran > Editor| and select all colours as non-black. Thereafter, a command such as
  print *, "Hello" 
correctly highlights the keyword and string, but the *, characters remain black. 

The result:
As above, for a range of characters, which makes it impossible to read on a dark background. These characters remain black.

The expected behaviour: 
Be such that these are also addressable via the highlighting options or via the necessary attribute and .prefs file combination for the given workspace.

There is a relevant discussion on the Photran mailing list:
http://dev.eclipse.org/mhonarc/lists/photran/msg01585.html
Comment 1 Jeffrey Overbey CLA 2011-03-15 00:23:03 EDT
This is fixed in ptp_4_0 (Photran 6.0.7) and HEAD (Photran 7.0).  There is a new "numbers and punctuation" preference in the Fortran Editor preference page.