Rob Rix
|
6d2a89b55a
|
textElements calls out to elementAndBreak.
|
2015-12-10 14:17:51 -05:00 |
|
Rob Rix
|
43a20d00bd
|
Extract the element/break function.
|
2015-12-10 14:17:22 -05:00 |
|
Rob Rix
|
e27122a142
|
Only adjoin when we have open lines above us.
|
2015-12-10 14:01:06 -05:00 |
|
Rob Rix
|
ed86b344d5
|
For debugging render Break to <br>
|
2015-12-10 14:00:02 -05:00 |
|
Rob Rix
|
7f742bc882
|
Try to only push through empty lines which have open lines above them.
|
2015-12-10 13:40:07 -05:00 |
|
Rob Rix
|
d57443afd0
|
Find the most recent open line in a list.
|
2015-12-10 13:38:57 -05:00 |
|
Rob Rix
|
72fef55675
|
Adjoin expects breaks at the end of lines.
|
2015-12-10 13:17:09 -05:00 |
|
Rob Rix
|
d1018576fd
|
Add breaks to the ends of lines.
|
2015-12-10 13:16:46 -05:00 |
|
Rob Rix
|
67ec6f897f
|
maybeLast produces the last element of a list, if any.
|
2015-12-10 13:16:42 -05:00 |
|
Rob Rix
|
7abe07bd16
|
actualLines ends lines with their newlines.
|
2015-12-10 13:15:32 -05:00 |
|
Rob Rix
|
0c9308b6ae
|
Use Break to represent newlines.
|
2015-12-10 11:35:46 -05:00 |
|
joshvera
|
5b8908ac82
|
Represent newlines distinct from empty strings
|
2015-12-10 11:33:02 -05:00 |
|
joshvera
|
6426a57d51
|
Use Break in adjoin2
|
2015-12-10 11:13:16 -05:00 |
|
joshvera
|
6b590a840f
|
Map newlines to Break
|
2015-12-10 11:11:02 -05:00 |
|
Rob Rix
|
a0253de5bf
|
Don’t wrap the contents of empty lines.
|
2015-12-10 11:06:04 -05:00 |
|
joshvera
|
5c9f2762dd
|
Remove EmptyRow case
|
2015-12-10 10:59:46 -05:00 |
|
Rob Rix
|
da2c1505f3
|
Provide a total definition of unLine.
Fixes #304.
|
2015-12-10 10:59:07 -05:00 |
|
Rob Rix
|
b5f9536bcb
|
Split up the definition of Line.
|
2015-12-10 10:59:07 -05:00 |
|
Rob Rix
|
641ba9b7b7
|
🔥 bimap.
|
2015-12-10 10:58:23 -05:00 |
|
Rob Rix
|
84a817b6bf
|
Rewrap the rows in uls.
|
2015-12-10 10:57:47 -05:00 |
|
Rob Rix
|
e86b43380f
|
Add a rewrap function.
|
2015-12-10 10:57:47 -05:00 |
|
joshvera
|
18c95e0b87
|
Fix inserted ranges returned from diffToRows
|
2015-12-10 10:53:47 -05:00 |
|
joshvera
|
9039068a5c
|
intersperse commas in Show Line instance
|
2015-12-09 19:06:29 -05:00 |
|
joshvera
|
79d8924b58
|
Remove maybeFirstNewLine
|
2015-12-09 18:50:31 -05:00 |
|
joshvera
|
40cc463a90
|
simplify appending a row with two newlines
|
2015-12-09 17:40:41 -05:00 |
|
joshvera
|
eecfd4ff6d
|
promotes HTML through empty lines
|
2015-12-09 17:38:40 -05:00 |
|
joshvera
|
a05f03dd92
|
add some test combinators
|
2015-12-09 17:29:25 -05:00 |
|
joshvera
|
f3381509b7
|
remove adjoinRows tests
|
2015-12-09 17:29:11 -05:00 |
|
joshvera
|
72a00b0a15
|
Remove adjoinRows
|
2015-12-09 16:59:40 -05:00 |
|
joshvera
|
088139ed27
|
Delete comments
|
2015-12-09 16:55:26 -05:00 |
|
joshvera
|
d98e8f0801
|
don't append if both sides start with newlines
|
2015-12-09 16:52:06 -05:00 |
|
joshvera
|
5a252911a2
|
Fix incorrect index in test
|
2015-12-09 15:54:31 -05:00 |
|
Rob Rix
|
99bc580df2
|
Correct a fixture.
|
2015-12-09 15:28:42 -05:00 |
|
Rob Rix
|
940be43244
|
Show instances which make it easier to tell where rows start and end.
|
2015-12-09 15:22:29 -05:00 |
|
Rob Rix
|
6f53ed41cf
|
Sp.
|
2015-12-09 15:07:30 -05:00 |
|
Rob Rix
|
4585545eab
|
Test that we don’t promote newlines through empty lines.
|
2015-12-09 14:56:33 -05:00 |
|
Rob Rix
|
6dc5a65ae8
|
Use the newLine definition a bit.
|
2015-12-09 14:56:26 -05:00 |
|
Rob Rix
|
b97b989803
|
Add a newLine definition.
|
2015-12-09 14:56:15 -05:00 |
|
Rob Rix
|
d527a03ca3
|
Test that adjoining newlines does not append.
|
2015-12-09 14:50:57 -05:00 |
|
Rob Rix
|
0010bb0c77
|
Spacing.
|
2015-12-09 14:47:10 -05:00 |
|
Rob Rix
|
96e8b63801
|
Merge branch 'master' into fix-alignment-issues
|
2015-12-09 14:45:17 -05:00 |
|
joshvera
|
2fe4f74b69
|
remove comments
|
2015-12-09 14:35:18 -05:00 |
|
joshvera
|
888a2bbf8a
|
Remove all uses of adjoinRows
|
2015-12-09 14:32:00 -05:00 |
|
joshvera
|
51fb407004
|
Don't adjoin lines if they start with newlines
|
2015-12-09 13:41:36 -05:00 |
|
joshvera
|
dd54f61206
|
Remove adjoinRows from the equation
|
2015-12-09 13:30:51 -05:00 |
|
joshvera
|
dc456afc65
|
add newline to the end of Row toMarkup
|
2015-12-09 11:25:38 -05:00 |
|
joshvera
|
c67ff8f2e5
|
working through adjoin2
|
2015-12-08 19:52:38 -05:00 |
|
joshvera
|
bcb935c49b
|
add maybeFirstNewLine to look in Uls for new lines
|
2015-12-08 18:09:45 -05:00 |
|
Josh Vera
|
4a0b320640
|
Merge pull request #275 from github/declare-the-type-of-textElements
Declare the type of textElements.
|
2015-12-08 12:38:10 -05:00 |
|
joshvera
|
f86f12b7f6
|
Produce empty lines
|
2015-12-08 12:35:58 -05:00 |
|