Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't know the Sel calculation, and the display of Occ(occurrence) with bug #5176

Closed
sunflower-guy opened this issue Apr 29, 2024 · 4 comments

Comments

@sunflower-guy
Copy link

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:

  1. 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";
  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:

  1. 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?
  2. 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?
    1st_20240429225616
    2nd_20240429225718
    3rd_20240429231324

expectation:

  1. know how the Sel is calculated out here;
  2. 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.

@sunflower-guy
Copy link
Author

@hpwamr Hi, RaiKoHoff has not yet online since March 7th, which is not the case prviously, it looks like no one is maintaining this git, can we get some update here regarding the git status here?

Regards,

@hpwamr
Copy link
Collaborator

hpwamr commented May 19, 2024

can we get some update here regarding the git status here?

Hello @sunflower-guy ,

For personal and professional reasons, @RaiKoHoff needed to take an indefinite break.

But no, Notepad3 support and development is not abandoned, it is just "suspended" while we reorganize and find one or more new "C++ Developer(s)".

@RaiKoHoff
Copy link
Collaborator

RaiKoHoff commented May 21, 2024

Hello @sunflower-guy :
regarding your questions:

  1. Sel: Count of all selected characters (including invisible line-breaks (CR LF, \r\n) - switch on Show line endings)
    Pressing Esc Ctrl Chr in Search dialog box will show the selected characters too.
  2. Occ: I am not able to reproduce the 39/2 case - please provide a detailed workflow.

@sunflower-guy
Copy link
Author

Hello @sunflower-guy : regarding your questions:

  1. Sel: Count of all selected characters (including invisible line-breaks (CR LF, \r\n) - switch on Show line endings)
    Pressing Esc Ctrl Chr in Search dialog box will show the selected characters too.
  2. Occ: I am not able to reproduce the 39/2 case - please provide a detailed workflow.

Hi @RaiKoHoff Nice to see you back as previously. ^^

the detailed workflow is mentioned in the "scenario" as initially, while i tried it again several time now, and i also can't reproduce it out. so basically it confused me also(though the screenshots initially make sense)

hence, i will close this ticket for now.

thanks again for the prompt reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants