Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

/m command line parameter uses last-used search mode, rather than text mode

Open AlexVallat opened this issue 2 years ago • 0 comments

To repro this, use the command line notepad3 /m "(c)" License.txt

If the last search you did in Notepad3 in the UI was a regex search, it will select the first "c" in license.txt. If it was a text search, it will select the first "(c)".

/mr always does regex search, /m should similarly always do a text search. Or if you prefer that /m should really use the last setting (which I think is less useful), then there should be an /mt or similar to do an always text search.

Tested with 6.23.712.1 rc

AlexVallat avatar Nov 23 '23 11:11 AlexVallat