Notepad3
Notepad3 copied to clipboard
don't know the Sel calculation, and the display of Occ(occurrence) with bug
Hi Team, version: Notepad3 (x64) 6.24.307.1 rc2 & 6.24.414.1 rc3
scenario:
as the test file & screenshot showed, by accident, noticed that:
- copy 2 lines' content->paste into the Find box, it displays "Sel=4", keep clicking "Find Next" or "Enter" button, it displays "Occ=1-2/2";
- copy 3 lines' content->paste into the Find box, it displays "Sel=7", keep clicking "Find Next" or "Enter" button, it displays "Occ=1-2-3-4...->/2", i just stop at 39, which is increasing +1 each time;
question:
- in 1, why the Sel=4? how to calculate it out? in my opinion, it's 2, even including the "Newline special char", it's 3?
- it's correct when it's 2 lines, while in the 2nd scenario, apparently it's out of normal to display the Occ as it keep increasing, right?
expectation:
- know how the Sel is calculated out here;
- the Occ number is displayed as expected when multiple lines(more than 2), e.g.: here it's 1-2/2.
Thanks for the consideration & possible fulfilment.