Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337632 - Unable to change syntax highlighting colours of certain arithmetic characters in Photran
Summary: Unable to change syntax highlighting colours of certain arithmetic characters...
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Editor & Outline View (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: 6.0.7   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL: http://dev.eclipse.org/mhonarc/lists/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-19 05:17 EST by Jannes CLA
Modified: 2011-03-15 00:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.