Search found 2456 matches

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: 411

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: 3
Views: 214

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 versio...
by ben_josephs
Tue Mar 19, 2024 11:16 am
Forum: Enhancement Suggestions
Topic: Recent files >16
Replies: 8
Views: 13467

Re: Recent files >16

I have now have all of the TWS files in a single directory. Since the files seem to contain relative file paths, they needed to be individually loaded and re-saved rather than just moved across. You just need to save the workspace into the new location. For any file not in (or below?) the directory...
by ben_josephs
Wed Feb 28, 2024 3:39 pm
Forum: Enhancement Suggestions
Topic: Recent files >16
Replies: 8
Views: 13467

Re: Recent files >16

Here's a Python script that outputs the names of the document files in a workspace file. It handles both very old-style (TextPad version < 7) ASCII workspace files and newer UTF-16 ones. (Note: workspace version numbers are not the same as TextPad version numbers.) If you happen to have Python (3) i...
by ben_josephs
Wed Feb 28, 2024 10:34 am
Forum: Enhancement Suggestions
Topic: Recent files >16
Replies: 8
Views: 13467

Re: Recent files >16

I also would like longer lists. However, I always use workspaces and I don't have much need for the recently-used document file list. As for workspaces (I have far more than 50 of them), I keep them all in a single directory, d:\t . I can list them at the command line by entering dir d:\t , or get W...
by ben_josephs
Wed Feb 07, 2024 10:35 am
Forum: General
Topic: Reload Last Workspace Not Working
Replies: 3
Views: 216

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: 1811

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
Sun Dec 03, 2023 3:18 pm
Forum: Enhancement Suggestions
Topic: Command — Strip trailing spaces
Replies: 4
Views: 4319

Re: Command — Strip trailing spaces

When you create a macro it automatically becomes available as a menu command. And you can give it whatever keyboard shortcut you please.
by ben_josephs
Tue Nov 28, 2023 10:12 am
Forum: Enhancement Suggestions
Topic: Command — Strip trailing spaces
Replies: 4
Views: 4319

Re: Command — Strip trailing spaces

Search | Replace... (<F8>):
Find what: _+$ [Replace the underscore with a space]
Replace with: [nothing]
[X] Regular expression
Replace All
You can save this as a macro:
Replace = " +$", "", RegExp
DoReplaceAll
by ben_josephs
Mon Oct 09, 2023 5:00 pm
Forum: General
Topic: Replace . (period) with \n (new line)
Replies: 5
Views: 3565

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 ex...
by ben_josephs
Mon Sep 04, 2023 3:27 pm
Forum: WildEdit
Topic: Delete Records That Do Not Match
Replies: 1
Views: 3949

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: 1639

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: 6
Views: 3505

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: 4316

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: 4316

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...