Preserving Start Marker Despite Window Change


Bhavya shah
 

Dear all,

I am currently editing an HTML file in Notepad++ and am trying to
delete all its content except one line. I am needing to juggle text
around a little bit right now (there is lots of metadata that I need
to wade through). Ideally, I would use the Find dialog to get to the
relevant points in the file to insert the start and end markers.
However, opening Find seems to (understandably) cause NVDA to forget
the start marker just set (likely because entering the Find dialog is
being treated as focusing a new window). Is there any way to work
around this?

I would appreciate any inputs!

Kind Regards,
Bhavya Shah
B.S. in Mathematical and Computational Science | Stanford '24
LinkedIn: https://www.linkedin.com/in/bhavyashah125/


Patrick Le Baudour
 

Hi,

Can't you just do it in two steps?

copy everything to a new document if needed (shouldn't be necessary with notepad++, you can always reload from disk),
go to the start of the wanted part, remove everything above
then find the end and remove the remainder or select from the start and copy.

regards,

-- Patrick LB

Le 26/12/2022 à 06:31, Bhavya shah a écrit :
Dear all,

I am currently editing an HTML file in Notepad++ and am trying to
delete all its content except one line. I am needing to juggle text
around a little bit right now (there is lots of metadata that I need
to wade through). Ideally, I would use the Find dialog to get to the
relevant points in the file to insert the start and end markers.
However, opening Find seems to (understandably) cause NVDA to forget
the start marker just set (likely because entering the Find dialog is
being treated as focusing a new window). Is there any way to work
around this?

I would appreciate any inputs!

Kind Regards,
Bhavya Shah
B.S. in Mathematical and Computational Science | Stanford '24
LinkedIn: https://www.linkedin.com/in/bhavyashah125/


Gene
 

I'm not working on the project, but what is being asked for is what you used to be able to do a long time ago in Word Perfect.  You could set a start marker, then search the text from there and set the start marker at the search result.  Or you could move with the arrow keys or in other ways and set the end marker wherever you wanted farther in than the start marker.  I don't know if that is still available in Word Perfect but it was a good feature.

If the loss of the start marker could be prevented when you leave the window to conduct a search, that would make things much more convenient in some cases.  Technically, I don't know if this could be done but the ability might be added if NVDA could store the position of the start marker and the user could cause the start marker to be reinstated after the end marker was set.

Gene

On 12/27/2022 12:35 AM, Patrick Le Baudour wrote:
Hi,

Can't you just do it in two steps?

copy everything to a new document if needed (shouldn't be necessary with notepad++, you can always reload from disk),
go to the start of the wanted part, remove everything above
then find the end and remove the remainder  or select from the start and copy.

regards,

-- Patrick LB



Le 26/12/2022 à 06:31, Bhavya shah a écrit :
Dear all,

I am currently editing an HTML file in Notepad++ and am trying to
delete all its content except one line. I am needing to juggle text
around a little bit right now (there is lots of metadata that I need
to wade through). Ideally, I would use the Find dialog to get to the
relevant points in the file to insert the start and end markers.
However, opening Find seems to (understandably) cause NVDA to forget
the start marker just set (likely because entering the Find dialog is
being treated as focusing a new window). Is there any way to work
around this?

I would appreciate any inputs!

Kind Regards,
Bhavya Shah
B.S. in Mathematical and Computational Science | Stanford '24
LinkedIn: https://www.linkedin.com/in/bhavyashah125/





Patrick Le Baudour
 

Oh, my bad, I forgot to check... there is a similar functionality with notepad++, "begin/end select" in the edit menu or through context menu.
first use start the selection and the menu item gets checked, second time does the selection.
There doesn't seem to be a default keyboard shortcut for it.

Regards,

-- Patrick LB

Le 27/12/2022 à 07:46, Gene a écrit :
I'm not working on the project, but what is being asked for is what you used to be able to do a long time ago in Word Perfect.  You could set a start marker, then search the text from there and set the start marker at the search result.  Or you could move with the arrow keys or in other ways and set the end marker wherever you wanted farther in than the start marker.  I don't know if that is still available in Word Perfect but it was a good feature.
If the loss of the start marker could be prevented when you leave the window to conduct a search, that would make things much more convenient in some cases.  Technically, I don't know if this could be done but the ability might be added if NVDA could store the position of the start marker and the user could cause the start marker to be reinstated after the end marker was set.
Gene


Rowen Cary
 

Hi, I created this feature request on Github, please leave a comment to let NV Access know if this works for you too. https://github.com/nvaccess/nvda/issues/13864