The "Find what" string contains any character(s)
The "Replace with" string contains spaces (i.e., made by pressing the spacebar)
Under "Conditions", only "Text" is selected
Under "Scope" only "Active Document" is selected
When I click "Replace", "Replace Next" or "Replace All", the found string is replaced with tab characters (i.e., \t ) instead of with spaces.
What am I doing wrong?
Search/Replace problem
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
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
Edit:
I was wrong.
a. I had it the wrong way round (it should have been Set not Clear.)
b. I can't reproduce the reported effect anyway.
Sorry.
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
Edit:
I was wrong.
a. I had it the wrong way round (it should have been Set not Clear.)
b. I can't reproduce the reported effect anyway.
Sorry.
Last edited by ben_josephs on Sat Jul 16, 2022 4:17 pm, edited 1 time in total.
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
In Configure | Preferences do you not see a tree like this:
?
Code: Select all
|- General
|- File
|- Editor
|- View
v· Document Classes
| v· Default
| | |- Colors
| | |- Font
| | |- Printing
| | |- Syntax
| | |- Tabulation
| >· Binary
...
Now, I see it
Code:
|- General
|- File
|- Editor
|- View
v· Document Classes
| v· Default
| | |- Colors
| | |- Font
| | |- Printing
| | |- Syntax
| | |- Tabulation
| >· Binary
On the Tabulation page:
The Default tab spacing value = 8
The Indent size = 8
The Convert new tabs to spaces is not ticked
The Convert existing tabs to spaces when saving files is not ticked.
The Tab stops boxes are empty.
Code:
|- General
|- File
|- Editor
|- View
v· Document Classes
| v· Default
| | |- Colors
| | |- Font
| | |- Printing
| | |- Syntax
| | |- Tabulation
| >· Binary
On the Tabulation page:
The Default tab spacing value = 8
The Indent size = 8
The Convert new tabs to spaces is not ticked
The Convert existing tabs to spaces when saving files is not ticked.
The Tab stops boxes are empty.
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm