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

Bug 343945

Summary: syntax highlighting of relational operators
Product: [Tools] PTP Reporter: Daniel Harenberg <dharenberg>
Component: Photran.Editor & Outline ViewAssignee: Photran Inbox <photran-inbox>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P4 CC: com-eclipse-dot-org, dharenberg
Version: 8.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Daniel Harenberg CLA 2011-04-27 08:18:42 EDT
To reproduce: In the Photran editor, type ne (or any other scalar relational operator) in any .f90 file. Note: do not type the surrounding periods (i.e. do not type .ne.) but only the two alphabetical letters.

Further information: One could have variables (or labels) with that name (ne, ge, etc), which should not be highlighted. Syntax highlighting should only occur when the two letters are immediately preceded and followed by a period.
Comment 1 Daniel Harenberg CLA 2011-04-27 11:12:03 EDT
the same holds for 

not
and
or
eqv
true
false
Comment 2 Daniel Harenberg CLA 2012-10-03 09:58:59 EDT
Bug still present in Eclipse Juno, PTP 6.0.2/Photran 8.0.2