Ignore carriage return when SetText is called. This makes sure Windows formatted text files (which use CR+LF) are handled correctly. Currently in the demo many lines get an invisible space-like character added to the end of the line, because the '\r' character (which is non-visible) is added to the end of the line. This change makes sure those are gone.
Ignore carriage return when SetText is called. This makes sure Windows formatted text files (which use CR+LF) are handled correctly. Currently in the demo many lines get an invisible space-like character added to the end of the line, because the '\r' character (which is non-visible) is added to the end of the line. This change makes sure those are gone.

BalazsJako/ImGuiColorTextEdit