Tapatalk

Mac Find and Replace in selected - Mac version "sticking"

Mac Find and Replace in selected - Mac version "sticking"

434
Basic UserBasic User
434

Post19:33 - Jan 13#1

So, when I do select some text, then find and replace in selected text on MacOS

The text area I had selected seems "STUCK" selected... I found this insanely annoying as the Windows version doesn't do this.

I struggled and eventually found that if I go to View-> Highlight All Selected and toggle it off (also its cmd+. I guess) then it goes away

However, I was pretty sure that the settings -> Search -> "Use persistent highlight all" being checked should prevent this.

I shot a very quick screen capture to show the behavior...

Is there some setting I'm missing? I don't see anything in the settings that looks even close other than the one I ensured was unchecked.
highlight_madness.mov (10.35 MiB)   0
Highlight madness after replace all in selection with UltraEdit Mac v2023.0

6,824625
Grand MasterGrand Master
6,824625

Post6:36 - Jan 14#2

You have described that highlighting behavior of a replace all executed on a selection here and I wrote a reply which is explaining that as a designed behavior in all versions of UltraEdit on Windows, Mac and Linux. The text replaced in the selection is highlighted, but this highlighting disappears or should disappear on next action which results in canceling the selection and also the highlighting of the replaced text inside the selection.

The highlighting of the replaced text in the selection has nothing to do with the Use persistent highlight all feature of the Find (UE for Windows) respectively Search (UE for Mac) command although using internally that feature for highlighting the text replaced in the selection.

Well, I can see in your recorded video that you try to create a new selection with the mouse after the execution of replace all on selected text and that does not work until executing the command Highlight All Selected by a click on its menu item in menu View displayed in the menu as being currently enabled. That is indeed a wrong behavior (issue rated by me as bug) of UltraEdit for Mac which should be reported by email to support of UltraEdit, Inc. While the menu item Highlight All Selected is toggled on after doing a replace all on selected text also in UltraEdit for Windows, there can be simply created a new selection with the pointing device or with the keyboard or just moved the caret to discard the current selection and the highlighting of the replaced text in the selection. It does not matter in UltraEdit for Windows if the setting Use persistent highlight all is checked or unchecked in the configuration at Search - Advanced. The selection and the highlighting of the replaced text after the execution of a replace all on a selection is discarded automatically by UltraEdit for Windows on creating a new selection with whatever method or just moving the caret. That should be the behavior of UltraEdit for Mac too.

The setting Highlight all items found in the configuration respectively preferences is in UltraEdit for Windows at Search - Auto reset settings in the group Automatically turn off option after a search operation. If that configuration is checked and a Search is executed with checked advanced search option Highlight all items found and later a new Search should be done resulting in opening the Search dialog window again, the advanced search option Highlight all items found is automatically unchecked now on opening the dialog window. The advanced search option Highlight all items found is checked otherwise on each opening of the Search dialog window after being once checked by the user with the configuration setting Highlight all items found not checked in preferences until the user explicitly unchecks the search option Highlight all items found oneself.

434
Basic UserBasic User
434

Post17:10 - Jan 19#3

Mofi,

Thanks for the review/sanity check. 

I have reported it to to support at ultraedit dot com and Troy has already gotten back to me that this does appear to possibly be a bug (needs further looking into). Also Troy mentioned there are plans in the works to do some updates to the UEdit for Mac this year (YAY!)

Thank you so much for sanity checking me.