Page 1 of 1
Replace All
Posted: Wed May 20, 2020 1:38 am
by gcotterl
Why do I have to do EDIT/SELECT ALL [b]before[/b] I use SEARCH/REPLACE ALL?
If I don't, only one phrase will be replaced.
Posted: Wed May 20, 2020 2:11 pm
by ak47wong
You don't need to. But make sure in the Replace dialog, Scope is set to Active document.
Posted: Wed May 20, 2020 3:03 pm
by gcotterl
"Active Document" is ticked.
Posted: Wed May 20, 2020 4:47 pm
by gcotterl
I just downloaded and installed TextPad version 8.4.0.
The REPLACE ALL problem seems to have been resolved.
I'll let you know if the problem reoccurs
Posted: Fri Jan 29, 2021 4:26 am
by gcotterl
I downloaded and installed TextPad 8.5.1.
"REPLACE ALL" now seems to work OK (I no longer need to "SELECT ALL" before using "REPLACE ALL").
Posted: Fri Jan 29, 2021 10:01 am
by ben_josephs
If there is no current selection, the search text is initialised with the previous selection and Active document is selected.
If there is a current selection and it does not contain a newline, the search text is initialised with the current selection and Active document is selected.
If the current selection contains a newline, the search text is initialised with the previous selection and Selected text is selected.
Thus TextPad is quietly doing what you usually want, but occasionally you have to adjust the settings.
Posted: Fri Jan 29, 2021 9:11 pm
by gcotterl
The cursor is at the top (before the first character) of the active document (i.e., the document on the screen).
The "Find What" box contains the expression to be replaced.
The "Replace with" box contains the replacement expression
For "Scope", "Active Document" is ticked.