Commit e706b29
Zaydek Michels-Gualtieri
Another technique we could try is to use parseInlineElements on state.nodes[state.pos1.y].data and see how deep state.pos.x is. The problem is edge cases like https:// where typing a character does not actually extend the link. This may very well be a side effect of syncPos works?
1 parent f387ddf commit e706b29
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
455 | 457 | | |
456 | 458 | | |
457 | | - | |
458 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
459 | 464 | | |
460 | 465 | | |
461 | 466 | | |
| |||
0 commit comments