Page 1 of 1
Why is this happening in TextPad 7.3.0?
Posted: Thu Aug 28, 2014 5:16 pm
by gcotterl
1. Why does REPLACE ALL replace only ONE occurrence of the search text?(I have to do EDIT/SELECT ALL first to get REPLACE ALL to replace ALL occurrences).
2. Why are tab characters being inserted in my file when I move text to different locations in the file? (The original file contains no tab characters).
Posted: Thu Aug 28, 2014 10:21 pm
by MudGuard
1. probably because "Scope" is "Selected Text", and selected Text only contains one occurrence.
2. no idea. Does not happen here.
Posted: Thu Aug 28, 2014 10:25 pm
by gcotterl
1. I have no text selected so REPLACE ALL should process the entire file.
Posted: Fri Aug 29, 2014 9:34 am
by ben_josephs
1. I have also seen Replace All when nothing is selected sometimes replacing only one occurrence. I don't know under what circumstances this happens. A second Replace All (without closing the Replace dialogue box) always seems to replace the remaining occurrences.
2. If your insertion requires whte space to be added to its left or to the left of any of its lines, TextPad, by default, uses tabs where possible to fill that white space. If you'd prefer it to use spaces clear
Configure | Preferences | Document Classes | <Class> | Tabulation | Convert new tabs to spaces
or, for the current document,
View | Document Properties | Tabulation | Convert new tabs to spaces
Posted: Thu Sep 18, 2014 2:57 am
by ineuw
ben_josephs wrote:1. I have also seen Replace All when nothing is selected sometimes replacing only one occurrence. I don't know under what circumstances this happens. A second Replace All (without closing the Replace dialogue box) always seems to replace the remaining occurrences.[/i]
I can confirm this quirky behavior of the Replace all, but it doesn't bother me to click twice, so I never made an issue of it. It's been happening from version 6.x
Still happening in TP 7.4
Posted: Thu Oct 23, 2014 9:41 pm
by Kiwi6469
This bothers the crap out of me, because if you do do it twice *and* the replacement text contains the find text, it replaces the first hit that it did on the first attempt **twice**!
The number of times I've been tripped up, either only replacing one or one replacing twice is huge and it's a constant irritation.
Posted: Wed Oct 29, 2014 10:48 pm
by gcotterl
I've changed the configuration preferences per ben josephs suggestion.
The unwanted and unintended tab characters (\t) are no longer being inserted.
[color=red](Hooray!!!) [/color]