Posted by: pspad | Date: 07/31/2011 14:08 | IP: IP Logged
I found a little problem with COBOL syntax highlighting.
When there is a "*" at the end of line, the foreground and background colors
are shown equal and so the "*" disappears.
This occurs when a COMPUTE command is writen in more than one line.
See the image at line 26 there is a "*" in column 71 because it is displayed in the status bar
but not in editor pane.
The lines of code are:
compute x = ((-b + (b ** 2 - (4 * a * c)) **.5) / (2 * a)) *
Click in "quote" to copy lines correctly to editor.
Looks like it might be something about the inline comments, because if we put a ">" after the "*" then "*>" is shown correctly.
This is very important to us, because the calculations are show imcompleted.
Problem was found and fixed