Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Fix cursor swap in `QuickFind.SelectAllMatches()`

Open kallisto56 opened this issue 6 months ago • 0 comments

Hi there,

There was an issue with QuickFind.SelectAllMatches(), where after selecting all matches and pressing Shift+Home/End, selections will be incorrect, because the swap of EditSelection? was on Value and not on ValueRef. This pull-request fixes this issue.

Steps to reproduce issue:

  1. Select word;
  2. Press Ctrl+F;
  3. Press Alt+Enter;
  4. Press Shift+End;
  5. Type any character;

Demonstration of issue:

https://github.com/user-attachments/assets/dd2739d1-c199-4c72-b707-ea1cee1855c1

Correct behaviour:

https://github.com/user-attachments/assets/d4611cb8-4b18-4eeb-ae61-117873cf9287

kallisto56 avatar Jun 14 '25 13:06 kallisto56