Commit f678b77
authored
Make iOS trailing newlines not use current typing attributes (#183)
Trailing newlines on iOS need to be measured as if there was a fake `I`
character to get the proper measurement. But incorrectly, current typing
attributes were used for the character. This resulted in a funny thing;
trailing newline would change sizes if we changed selection from a, say,
heading line to non heading line. Now it uses the default typing
attributes.1 parent a92ac63 commit f678b77
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| |||
0 commit comments