Hello, @coises,
You said :
When the search dialog is narrow (typical if the docking dialog is used and docked to the left or right), the status message can overflow the available space. I added ellipsis to the message and a balloon tip on hover to show the whole message when it overflows.
Could you share a screenshot that illustrates this behavior as I have not been able, so far, to see any ellipsis char and any ballon tip !
Now, is this a bug or I did not understand the logic ?
Let’s suppose this text in a new tab :
This is a test
This is a test
This is a test
This is a test
This is a test
This is a test
Move to this new tab
Put the caret on the 4th empty line, without selecting anything else ( IMPORTANT )
Run Plugins> Search++ > Search...
Select the Plain button
SEARCH is
Check the Match case option ONLY
Click on the ▼ mark of the Find All button
Choose the Select > Select Before in Whole Document or the Select Before option
=> No message and no matches ??
I was rather expecting the message Selected 6 matches before current position
Replace the caret on the 4th empty line , without selecting anything else ( IMPORTANT )
Click on the ▼ sign of the Find All button
Choose the Select > Select After in Whole Document or the Select After option
=> Any is string is matched in entire document
=> Message : Selected 12 matches after selection ??
I was rather expecting the message Selected 6 matches after current position
Finally :
Replace the caret on the 4th empty line , without selecting anything else ( IMPORTANT )
Click on the ▼ sign of the Find All button
Choose the Select > Select in Whole Document option
=> Any is string is matched in entire document
=> Message : Selected 12 matches
This time, the results are coherent !
Now, @coises, to my mind, it would be interesting to change the layout, below :
Find ▼ Count ▼ Find All ▼
□ Match Case □ Whole word only
By this one :
Find ▼ Count ▼ Find All ▼
Select ▼ Mark ▼ Show ▼
□ Match Case □ Whole word only
In addition, this would give some more default values available for the Select, Mark and Show options ! What are your thoughts on this ?
A nice thing regarding the Search Mark feature is that you can use the native N++ Mark feature to perform additional actions :
You may clear all marked text with the Clear all marks button. Of course, you can simply use the Tools > Unmark All Text of Search++
You can use the Copy Marked Text of the Mark dialog. But, while trying to get a Search++ equivalent behavior, I suspected an other bug :((
Let’s use this text in a new tab
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Move to this new tab
Run Plugins> Search++ > Search...
Select the Regex button
SEARCH ^.+
Click on the ▼ sign of the Find All button
Choose the Select > Select in Whole Document option
=> The 4 lines are selected
Then, in order to mimic the Copy Marked Text button, you just have to do a Ctrl + C action. So OK, so far !
Now, click anywhere to cancel the selection
Select this ABCDE string
Copy in the clipboard with a Ctrl + C action
Move to the new tab
Run Plugins> Search++ > Search...
Select the Regex button
SEARCH ^.+
Click on the ▼ sign of the Find All button
Choose the Mark > Mark in Whole Document option
=> The 4 lines are marked
-Then use the Tools > Marked text → Selections option
=> The 4 lines are ALSO selected
Run a Ctrl + C action to put this selection in the clipboard
Then, run a Ctrl + V action => The clipboard wrongly contains the string ABCDE
So, despite of the Tools > Marked text → Selections action, nothing can be copied !?
Regarding the marked strings, you probably know that you can go through all of them with the Ctrl + 0 and Ctrl + Shift + 0 shocrtcuts on main keyboard ( Refer to the Search > Jump Up > Find Mark Style and Search > Jump Down > Find Mark Style options )
And indeed, a Ctrl + 0 action moves to the next marked text, whatever that the mark operation was due to Notepad++ or Search++
Unfortunately, a Ctrl + Shift+ 0 action does not move to the previous marked text :-(( Could you confirm, @coises ?
However, note that commands Ctrl + 1 to Ctrl + 5 and Ctrl+ Shift + 1 to Ctrl + Shift + 5, to navigate between marked strings, work as expected if you change the Marked Style in Settings accordingly.
Last thing :
In the Tools menu, I noticed that the Unmark All Text button ONLY clears hhe marked text which is presently defined in the Settings dialog
So, you could, either :
Add a color to identify which marked text will be cleared
Simply clears any marked text whatever its style
Change the single option :
□ Unmark all text
in the two options :
□ Unmark present styled text
□ Unmark all styled text
Best Regards,
guy038