Implement custom line separators #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The plan is to change the Text data structure to be line-ending-agnostic, and have code that calls it deal with it pre-separated arrays of strings. The editor state should store the line separator somewhere (#1) and that's what you get when you read text from the editor, and what's used to split when you put text in. The default mode should again be a loose one where everything that looks like a newline is split on, and the output uses
\ncharacters.This has been done in 7e29227337...0792ad0357