Incorrect source highlighting in VS2010

Incorrect source highlighting in VS2010

David White's picture

When editing an f90 file, the source highlighting continues the red colour for an unterminated text string onto subsequent lines, even when they are not continuation lines.

Regards,

David

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
TimP (Intel)'s picture

Yes, the same limitation is exhibited as in my own hacked up pre-processing scripts. Some of our colleagues (who are not ifort users) have told us that old-fashioned grammatical rules such as distinguishing between its and it's in comments have no place in the present.

David White's picture

Tim,

the mistake on the unfinished strings says that the code highlighting is not properly tuned for Fortran - but only for languages which allow continuations onto multiple lines without a continuation character. Is this an error in the Fortran integration?

Thanks,

David

Steve Lionel (Intel)'s picture

This problem has been reported before. I think it is fixed in Update 11.

Steve
dboggs's picture

"old-fashioned grammatical rules such as distinguishing between its and it's in comments have no place in the present."? Who says so?! Maybe old-fashioned concepts like spelling have no place either--that would certainly explain a lot of things we see on the internet.

...not sure what this has to do with Fortran, or VS, or the original question; just a steam pressure build-up that needs vented.

TimP (Intel)'s picture

Possessives and contractions including ' in comments exhibited the highlighting bug which is the subject of this thread.

Login to leave a comment.