Windows 7 Enterprise 64-bit
CCB: P1 R2013a.
Note that GMAT has a problem with this file because it is "corrupt". What I mean is that if you look at the file in Notepad++, the line endings are just random (sometimes CR, sometimes LF). Regular GMAT files, CRLF, work. The StyledTextEditor seems to have a problem with this randomness. Even setting the EOLMode doesn't set the text properly. I had to change the code to look for either CR or LF to make Comment/Uncomment work.
So this is unfixable if the file has mixed line endings? That's fine, I just want to make sure.
I'm seeing a lot of mixed line endings creeping into my files after I edit them with the script editor (2012-10-25 build). I haven't nailed it down, but it looks like there's still a bug in there somewhere. I'll put a bug in if I can ever figure out a clean way to duplicate it.
Actually, it is fixed and will be in the 2012-11-08 build. However, I am concerned that this may bite us somewhere else.
Fixed in Build 2012-11-08
Verified as fixed using 2013-01-14 build. Reassigning to Tom for any further GUI testing.