Improved line handling. Don't allow erasing the last line (this was implicitly already disallowed), and ensure there's always one line or more. Removed code paths where 'fixes' were necessary due to this behavior not being guaranteed.
Improved line handling. Don't allow erasing the last line (this was implicitly already disallowed), and ensure there's always one line or more. Removed code paths where 'fixes' were necessary due to this behavior not being guaranteed.

BalazsJako/ImGuiColorTextEdit