aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/list.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-281-29/+28
| | | | | | | | | | | | | | | Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event.
* Refactor to not pass codes aroundLibravatar Titus Wormer2022-07-251-38/+41
|
* Remove no longer needed field in `State::Ok`Libravatar Titus Wormer2022-07-251-3/+3
|
* Improve performance w/ a single feed loopLibravatar Titus Wormer2022-07-251-5/+5
|
* Refactor to use a single shared edit mapLibravatar Titus Wormer2022-07-221-7/+3
|
* Refactor to remove unneeded tuples in every statesLibravatar Titus Wormer2022-07-221-32/+32
|
* Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer2022-07-221-17/+14
|
* Refactor to move `index` field to `point`Libravatar Titus Wormer2022-07-211-1/+2
|
* Refactor to share edit mapLibravatar Titus Wormer2022-07-201-5/+5
|
* Refactor to use less vecs for eventsLibravatar Titus Wormer2022-07-201-3/+3
|
* Refactor to remove cloning in `edit_map`Libravatar Titus Wormer2022-07-191-5/+3
|
* Fix performance around a lot of listsLibravatar Titus Wormer2022-07-191-16/+33
|
* Add support for turning off constructsLibravatar Titus Wormer2022-07-181-3/+12
|
* Refactor to organize resolversLibravatar Titus Wormer2022-07-181-2/+2
|
* Fix interrupting of ordered itemsLibravatar Titus Wormer2022-07-151-5/+7
|
* Fix stray `println`Libravatar Titus Wormer2022-07-151-2/+0
|
* Add docs and refactor listLibravatar Titus Wormer2022-07-151-158/+200
|
* Fix two more list bugsLibravatar Titus Wormer2022-07-141-1/+6
|
* Fix interrupting sibling list itemsLibravatar Titus Wormer2022-07-141-3/+1
|
* Add support for container stateLibravatar Titus Wormer2022-07-141-43/+52
| | | | | | * Fix to parse list item continuation based on how big the initial list item prefix was * Fix list items that start with blank lines
* Fix a bunch of container thingsLibravatar Titus Wormer2022-07-141-2/+2
| | | | | | | | * Fix a lot of container code * Fix to prevent code (indented) from interrupting a lazy container * Fix compiling when combining tight paragraphs, empty list items, and html * Fix list items starting w/ blank lines causing loose lists * Fix crash when looking for a previous blank line
* Fix lists in lists and some other bugsLibravatar Titus Wormer2022-07-131-25/+27
|
* Fix some issues around empty listsLibravatar Titus Wormer2022-07-121-12/+57
|
* Fix to prefer thematic breaks over listsLibravatar Titus Wormer2022-07-121-6/+18
|
* Fix a lot of list thingsLibravatar Titus Wormer2022-07-121-23/+187
| | | | | | | | * Add `ListItem`, `ListOrdered`, and `ListUnordered` tokens * Add support for multiline list items * Add support for tight lists * Fix bug where 10 digit long list item values worked * Fix skip bug when skipping over nested events
* Add initial support for listsLibravatar Titus Wormer2022-07-121-0/+195