Why is this happening in TextPad 7.3.0?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Why is this happening in TextPad 7.3.0?

Post 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).
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

1. probably because "Scope" is "Selected Text", and selected Text only contains one occurrence.

2. no idea. Does not happen here.
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Post by gcotterl »

1. I have no text selected so REPLACE ALL should process the entire file.
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post 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
User avatar
ineuw
Posts: 191
Joined: Sun Mar 18, 2007 3:23 pm

Post 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
TextPad 8.16.0 64bit in English and TextPad 9.1.0 64bit in French, on two separate Windows installations
Kiwi6469

Still happening in TP 7.4

Post 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.
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Post 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]
Post Reply