If you open a file that contains mixed line ending types, you'll be asked if you want to standardize on a single line ending type for that file.
You can change Coda's interpretation of line endings, or convert the current file to a different line ending type by choosing from the options in Text > Line Endings .