
In Vim mode, `ap` text object (used in `vap`, `dap`, `cap`) was selecting multiple paragraphs when soft wrap was enabled. The bug was caused by using DisplayRow coordinates for arithmetic instead of buffer row coordinates in the paragraph boundary calculation. Fix by converting to buffer coordinates before arithmetic, then back to display coordinates for the final result. Closes #35085 --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
5 lines
146 B
JSON
5 lines
146 B
JSON
{"Put":{"state":"a\n ˇ•\naaaaaaaaaaaaa\n"}}
|
|
{"Key":"d"}
|
|
{"Key":"i"}
|
|
{"Key":"p"}
|
|
{"Get":{"state":"a\naaaaaaaˇaaaaaa\n","mode":"Normal"}}
|