FORTRAN keyword issues
Posted: 30 Aug 2011 00:42
Something odd is happening with my (very basic) FORTRAN syntax highlighter. All of my keywords are stored in the syntax file in lowercase, but the file is marked as not case sensitive. I've verified that *all* of the defined keywords are properly colorized when written in lower case. However, only *most* of them are properly recognized when written in upper case. There are 16 keywords that get missed when they're written in caps, as illustrated in the attached image:
The color scheme used in the image uses black for keywords and orange for standard text (just for visual clarity). So, as you can see, all lowercase items are recognized, and all uppercase items are not. Again, I'm only showing the ones that fail to match in uppercase. All others work properly in both cases.
The keywords shown were cut/pasted directly from the syntax file, so they haven't been retyped in any way (so, no typos or strange chars).
I can provide additional files as necessary. Any ideas?
Jeff
The color scheme used in the image uses black for keywords and orange for standard text (just for visual clarity). So, as you can see, all lowercase items are recognized, and all uppercase items are not. Again, I'm only showing the ones that fail to match in uppercase. All others work properly in both cases.
The keywords shown were cut/pasted directly from the syntax file, so they haven't been retyped in any way (so, no typos or strange chars).
I can provide additional files as necessary. Any ideas?
Jeff