Closed luozhiya closed 3 days ago
getcurpos
Returns [0, lnum, col, off, curswant]
[0, lnum, col, off, curswant]
The curswant number is the preferred column when moving the cursor vertically.
curswant
getcurpos()[2] + 1
prop_add
Any Tab and other control character in the text will be changed to a space.
Fix #26
getcurpos
getcurpos()[2] + 1
is not the correct number of columns.prop_add
prop_add
, we need to convert the tab to space.Fix #26