Commit 14c7530
committed
patch 8.2.3348: line2byte() returns wrong value after adding textprop
Problem: line2byte() returns wrong value after adding textprop. (Yuto
Kimura)
Solution: Reduce the length by the size of the text property. (closes #8759)1 parent dd9de50 commit 14c7530
3 files changed
Lines changed: 29 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3977 | 3977 | | |
3978 | 3978 | | |
3979 | 3979 | | |
| 3980 | + | |
| 3981 | + | |
| 3982 | + | |
3980 | 3983 | | |
3981 | 3984 | | |
3982 | 3985 | | |
| |||
3995 | 3998 | | |
3996 | 3999 | | |
3997 | 4000 | | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
3998 | 4005 | | |
3999 | 4006 | | |
4000 | 4007 | | |
4001 | 4008 | | |
4002 | 4009 | | |
4003 | 4010 | | |
4004 | | - | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
| 4017 | + | |
| 4018 | + | |
4005 | 4019 | | |
4006 | 4020 | | |
4007 | 4021 | | |
| |||
5595 | 5609 | | |
5596 | 5610 | | |
5597 | 5611 | | |
5598 | | - | |
| 5612 | + | |
5599 | 5613 | | |
5600 | 5614 | | |
5601 | 5615 | | |
| |||
5734 | 5748 | | |
5735 | 5749 | | |
5736 | 5750 | | |
5737 | | - | |
| 5751 | + | |
5738 | 5752 | | |
5739 | 5753 | | |
5740 | 5754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
| 812 | + | |
812 | 813 | | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
813 | 822 | | |
| 823 | + | |
814 | 824 | | |
815 | 825 | | |
816 | 826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| 758 | + | |
| 759 | + | |
758 | 760 | | |
759 | 761 | | |
760 | 762 | | |
| |||
0 commit comments