My work Bitbucket doesn’t support proper syntax highlighting for kotlin for unknown reasons. A quick search led me to this Atlassian public jira ticket from 2018.
Notepad++ on windows has this beautiful option “View all characters” to display all invisbile characters such as line endings.
Programming editors on mac like Textwrangler and Textmate has an option to Show Invisibles but failed to display the character block for Carriage Return as Notepad used to.