"Find/Replace/Mark All" search does not switch context between multiple tabs

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 11 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
shawnwestin
Posts: 59
Last visit: Mon Aug 14, 2023 7:21 am

"Find/Replace/Mark All" search does not switch context between multiple tabs

Post by shawnwestin »

Opened two tabs.
Tab 1 contains 5 instance of "find me".
Tab 2 contains 1 instance of "find me".

Tab 1
(Ctrl + F); Find What = "find me"
- search works as expected
- clicked "Find Next" 6 times: jumps to each instance of the search text, then displays "Reached Starting Point" message
- closed find box

Switch to Tab 2
(Ctrl + F); Find What = "find me"
- search does not highlight the search text.
- clicked "Find Next" 6 times: displays "Reached Starting Point" message
- clicked "Mark All": 5 lines highlighted in *Tab 1*

version 3.1.10
User avatar
shawnwestin
Posts: 59
Last visit: Mon Aug 14, 2023 7:21 am

"Find/Replace/Mark All" search does not switch context between multiple tabs

Post by shawnwestin »

Work-around: close PowerShell Studio and reopen to search in a different tab
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

"Find/Replace/Mark All" search does not switch context between multiple tabs

Post by davidc »

Thank you for reporting the issue and it will be resolved in the next service release.


David
David
SAPIEN Technologies, Inc.
User avatar
shawnwestin
Posts: 59
Last visit: Mon Aug 14, 2023 7:21 am

"Find/Replace/Mark All" search does not switch context between multiple tabs

Post by shawnwestin »

Thanks David.
One additional note: If I close "Tab 1" in the example, and then click "Find Next" on Tab 2, an error is displayed:
"An error occurred:
Object reference not set to an instance of an object."
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

"Find/Replace/Mark All" search does not switch context between multiple tabs

Post by davidc »

Thank you once again. The fix should also resolve that issue.

David
David
SAPIEN Technologies, Inc.
User avatar
shawnwestin
Posts: 59
Last visit: Mon Aug 14, 2023 7:21 am

"Find/Replace/Mark All" search does not switch context between multiple tabs

Post by shawnwestin »

Thanks David!

I verified this is fixed in 3.1.12.

Cases:
- Searching in and switching to multiple tabs
- Closing tab that "Find" was originally opened in.
This topic is 11 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.