The 'Match Whole Words' option is not sticky. That is, it is cleared each time TextPad starts.
Is this new behavior, or has it always been that way?
If it is not a bug, it would be nice to have an option to make it sticky.
This is TextPad 8.4.2
Find 'Match Whole Words' is not sticky
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Match Whole Words is cleared if the Find What box is initialized with text which cannot match a whole word. TextPad has always behaved like that.
In case you're not into regular expressions, you can achieve the same end by checking that option and surrounding your search text with \< ... \>. Note that to match any of .[{}()\*+?|^$ literally, you would then have to precede those characters with a backslash.
\< matches the start of a word boundary and \> matches the end, so they only need to be paired for matching whole words.
Keith MacDonald
Helios Software Solutions
In case you're not into regular expressions, you can achieve the same end by checking that option and surrounding your search text with \< ... \>. Note that to match any of .[{}()\*+?|^$ literally, you would then have to precede those characters with a backslash.
\< matches the start of a word boundary and \> matches the end, so they only need to be paired for matching whole words.
Keith MacDonald
Helios Software Solutions
Yes, I am familiar with that behavior. However I am referring to the first use of find via F5. It always clears the 'Match Whole Words' option. I suspect it it because the initial string is empty. I am suggesting it should be preserved in this case.Match Whole Words is cleared if the Find What box is initialized with text which cannot match a whole word.