Fix code action selection bug while using vim visual mode (#27817)
Austin Merrick
created
## Problem
Code actions do not handle vim line mode correctly. See this video where
`Extract to function` doesn't extract both selected lines:
https://github.com/user-attachments/assets/8fa0fb28-0403-44f6-9e55-a59b6713dffd
## Solution
Use `selections.newest_adjusted` instead of `selections.newest_anchor`
so code actions consider the full selection.
Correct behavior:
https://github.com/user-attachments/assets/174d5a34-3873-4d20-b67d-103edec4cdbe
---
Release Notes:
- vim: Fixed code actions in visual line mode