Search found 2264 matches

by ben_josephs
Mon Nov 10, 2025 5:34 pm
Forum: General
Topic: Differences in Behaviour - v8.23.2
Replies: 6
Views: 4760

Re: Differences in Behaviour - v8.23.2

DiB 1: I can reproduce this.
TextPad 8.23.0
Windows 11 [Version 10.0.26200.7019]

Attempting to close TextPad results in a warning: Some of your documents have been modified.
Attempting to Save A ll and then saving over the original file results in a crash.
I've emailed support at textpad a dump ...
by ben_josephs
Thu Oct 23, 2025 1:49 pm
Forum: General
Topic: RegEx Replace All not replacing all matches
Replies: 4
Views: 4257

Re: RegEx Replace All not replacing all matches

I can reproduce this in TextPad 8.23.0.
It appears that the newline in the replacement text is causing TextPad problems.

For example, using the input test

12
123
the replacment
Find what: .
Replace with: $0_

X Regular expression

Replace All
correctly produces
1_2_
1_2_3_

whereas
Repace ...
by ben_josephs
Wed Oct 22, 2025 12:09 pm
Forum: General
Topic: My Textpad has recently become unresponsive
Replies: 3
Views: 3778

Re: My Textpad has recently become unresponsive

The Unicode value of the character è is E8 .
The UTF-8 encoding of this value is the byte sequence C3 AB .
Interpreted as ISO 8859-1 (sometimes called ANSI) this is the character sequence è .
Thus: è = U+00E8 → 0xC3 0xAB = è

It appears that a file containing letters with diacritics has been ...
by ben_josephs
Thu Jul 25, 2024 1:11 pm
Forum: General
Topic: TextPad Help says regex $0 for selected text corresponds to & in old syntax but the Find function can't match it
Replies: 4
Views: 13522

Re: TextPad Help says regex $0 for selected text corresponds to & in old syntax but the Find function can't match it

As AmigoJack writes, using $0 in a search expression makes no sense.
It matches the end of a line ( $ ) followed by a " 0 ". But that sequence exists nowhere, as the end of a line is followed by a newline character sequence (1 or 2 characters).

Keep in mind that regexes and replacements are ...
by ben_josephs
Mon Jun 03, 2024 1:49 pm
Forum: General
Topic: Bug v9.4.1 Sometimes "\n" is added to pastes in "Find.." and "Find in files...".
Replies: 4
Views: 7753

Re: Bug v9.4.1 Sometimes "\n" is added to pastes in "Find.." and "Find in files...".

If block select mode is on, TextPad treats a selection as a sequence of lines, even if it's within a single line, and appends a "\n" to each line in the selection. I believe this behaviour was introduced fairly recently. It's not always what you want, as TextPad will not find a match unless regular ...
by ben_josephs
Fri Apr 19, 2024 7:35 am
Forum: General
Topic: Old search strings can no longer be deleted in dialogue boxes
Replies: 11
Views: 15603

Re: Old search strings can no longer be deleted in dialogue boxes

History lists were added in versions 9.1.0 and 8.16.0 (in February 2023).
by ben_josephs
Wed Apr 10, 2024 9:32 am
Forum: General
Topic: Version 9 -- Feedback
Replies: 5
Views: 10614

Re: Version 9 -- Feedback

I haven't studied version 9 to the depth you have, but I agree that the colours aren't ideal. Neither the light nor the dark theme supports my eyes. I have many overlapping document windows open, and I need to be able to see at a glance which is the active document. I find this difficult with ...
by ben_josephs
Wed Feb 07, 2024 10:35 am
Forum: General
Topic: Reload Last Workspace Not Working
Replies: 3
Views: 5131

Re: Reload Last Workspace Not Working

Do you mean the option Configure | Preferences | General | Reload last workspace at startup ?

Agreed. It doesn't work (18.8.0) here either.
by ben_josephs
Wed Jan 03, 2024 9:09 am
Forum: General
Topic: macro language reference
Replies: 2
Views: 6000

Re: macro language reference

If you search the help for
"edit macros"
you will be directed to a page entitled
How to Edit Macros
that is also accessible from the help contents page as
How To... | Use keystroke macros | Editing

You can produce a list of commands with
C onfigure | P references | Keyboard | C ategories ...
by ben_josephs
Mon Oct 09, 2023 5:00 pm
Forum: General
Topic: Replace . (period) with \n (new line)
Replies: 5
Views: 9679

Re: Replace

The replacement expression isn't a regular expression and the sequence " \n " isn't (specifically) a regular expression

However, TextPad requires that you specify Regular e xpression when using escape sequences such as " \n ", in either the search expression or the replacement expression. But the ...
by ben_josephs
Mon Sep 04, 2023 3:27 pm
Forum: WildEdit
Topic: Delete Records That Do Not Match
Replies: 1
Views: 19598

Re: Delete Records That Do Not Match

In WildEdit you can remove all lines that do not contain the text Denver anywhere with
S earch for:
^(?!.*Denver).*\r?\n

[ X ] Regular e x pression
[ ] "." m a tches end of line charactres [i.e., not selected]

R eplace with:
[nothing]

Options
Regular expression syntax
[ X ] Perl/ECMAscript ...
by ben_josephs
Mon Jul 31, 2023 9:54 pm
Forum: General
Topic: Items in "Tools" disappear from time to time
Replies: 2
Views: 3224

Re: Items in "Tools" disappear from time to time

The tool details are stored in

Code: Select all

%APPDATA%\Helios\TextPad\8\ConfigState.xml
(under <Tools>).

See also
https://forums.textpad.com/viewtopic.php?t=13745
by ben_josephs
Thu Jun 29, 2023 8:14 am
Forum: General
Topic: Search Results highlighting is invisible
Replies: 7
Views: 14039

Re: Search Results highlighting is invisible

AmigoJack inadvertently sent you to the wrong setting, so you set the colours for the Search Results window, not for any document window.
Set them instead for the appropriate document class or classes.
by ben_josephs
Sun May 28, 2023 4:24 pm
Forum: General
Topic: Macros Broken
Replies: 8
Views: 8741

Re: Macros Broken

BTW, I'm using TextPad version 8.16.1.

I changed the scope of my macro to Selection. Then if there is no selection when I run it, it doesn't do anything at all (and no action that can be undone is recorded). And if there is a selection when I run it, it does something that is only vaguely like what ...
by ben_josephs
Fri May 26, 2023 4:38 pm
Forum: General
Topic: Macros Broken
Replies: 8
Views: 8741

Re: Macros Broken

I was going to post something similar.

Here is a macro to open a line at the current cursor position.
If the cursor is placed before the second "stuff" in the text
stuff_before_cursor stuff_after_cursor
then running the macro should change the text to
stuff_before_cursor
stuff_after_cursor
The ...