Lined out text file in speed grader view

Jump to solution
Ron_Bowman
Community Champion

The attached picture is from my speed grader view.  The file being viewed is a C++ program text file that was submitted.  The file downloads and views fine in a regular editor (plus it compiles and runs).  Over the last 8-9 years of using Canvas with C++ files, I have never seen this event happening.  I am just curious if anyone else has ever noticed this effect?  If so, any ideas on what caused it?  I will get in touch with the student and see what editor they used.

the picture is cropped, but from the first line of the file to the point where the single line cross out starts is all header comments.  The crossed out part then continues all the way to the end of the program

Thanks,

Ron

0 Likes
1 Solution
TrischPrice
Community Participant

I have had this happen to me due to a single quote. When the reader hits a single quote it goes into strikeout mode. It has happened to me when I have students submit sql files and they copy the questions over from a word doc. I do not have this issue in my c++ classes or python classes even though they also have single quotes nor are there issues on with a single quote in sql that was written within the editor - only those copied over, so I think it must be a smart quote.

Now if I can just figure out why the latest version of canvas (2/14) won't allow me to make annotations to cpp, sql or py files - which is why I am here :).

 

View solution in original post