Search found 323 matches

by jeffy
Thu Jul 18, 2013 11:56 pm
Forum: General
Topic: RegexClear RegexSet (& MatchCase & MatchWord) w/ dlg
Replies: 4
Views: 409

The key commands only work in the document proper. Not in any dialogs. I wish the documentation was clearer, but this seems to be standard Windows thing.
by jeffy
Thu Jul 18, 2013 11:31 pm
Forum: General
Topic: Setting up a library of Find(s)
Replies: 5
Views: 788

I personally do this type of thing in PhraseExpress, a Windows scripting program free for personal use. http://www.phraseexpress.com/download.php Here's a PhraseExpress import-file. This is indented for clarity, but must be UN-indented in order to import it into PhraseExpress. DUPLICATE the file, un...
by jeffy
Thu Jul 18, 2013 11:03 pm
Forum: General
Topic: copy with syntax highlighting
Replies: 4
Views: 709

kengrubb wrote:You could make an enhancement request for a Copy Other>As RTF feature.
That's an interesting idea.
by jeffy
Thu Jul 18, 2013 11:01 pm
Forum: General
Topic: copy with syntax highlighting
Replies: 4
Views: 709

Consider Windows' Snipping Tool. Type "snippingtool" into the Run... box. You can take a screenshot of any portion of the screen you like. Save it to the desktop, then attach it to your email.
by jeffy
Thu Jul 18, 2013 10:57 pm
Forum: General
Topic: Is it possible to use the Compare Tool for this?
Replies: 10
Views: 1303

Great find! Thanks ak47wong!
by jeffy
Thu Jul 18, 2013 9:40 pm
Forum: General
Topic: REGEX works okay, but macro using it does nothing
Replies: 3
Views: 467

REGEX works okay, but macro using it does nothing

I've recorded a macro that selects ([X] Extend selection) UP from the cursor through the previous tag, finding this REGEX: <[^>]+> When recording, it works just fine. But nothing happens when I play it back. I've saved it and assigned a key-command to it, but still nothing happens when I trigger it....
by jeffy
Wed Jun 12, 2013 1:36 pm
Forum: General
Topic: RegexClear RegexSet (& MatchCase & MatchWord) w/ dlg
Replies: 4
Views: 409

They work as long as the find dialog is not focused on--even if the dialog is open. They do not work when the dialog is open and focused. This is disappointing. I sort of feel like this is a bug. Or SHOULD be a bug, and it SHOULD work when it's open and focused. It makes automating TextPad via scrip...
by jeffy
Tue Jun 11, 2013 2:04 pm
Forum: General
Topic: RegexClear RegexSet (& MatchCase & MatchWord) w/ dlg
Replies: 4
Views: 409

RegexClear RegexSet (& MatchCase & MatchWord) w/ dlg

I can successfully set and unset the regex flag with the new Search>RegexSet and RegexClear commands (via key-commands I assigned to them), but I can only do this when the find-dialog is closed. When the dialog is opened and I use these same key-commands, I'm only getting dings, as if I'm trying to ...
by jeffy
Thu Dec 13, 2012 2:20 pm
Forum: General
Topic: Remove everything after 4th white space
Replies: 5
Views: 698

.*$ or .+$ is redundant. As far as search and replace is concerned, that's true, it is redundant. When just searching, however it is not redundant. Using the non-$ version, go to the top of the document 111 111 111 some text here 234 1 43 some more text here 1 0 213 some other text here 11 and sear...
by jeffy
Thu Dec 13, 2012 5:02 am
Forum: General
Topic: Addition to the last numbers
Replies: 5
Views: 520

Actually, if it truly is the last three characters, then this is better:

Code: Select all

- zProcessLine: 
{#END}{#SHIFT {#LEFT -count 3}}{#CLIPBOARD -copy}{#CALC {#CLIPBOARD -paste} + 25 -round 0 -thousands none}{#RIGHT} 
by jeffy
Thu Dec 13, 2012 4:28 am
Forum: General
Topic: Addition to the last numbers
Replies: 5
Views: 520

Re: Addition to the last numbers

If anyone could help to find an expression to just replace the last 3 numbers (column 85, 86, 87) with +25 it would be extremely appreciated. You could do this easily in PhraseExpress: - zProcessAllLines: {#LOOP zProcessLine -count {#INPUT -head How many lines to process? -single}} - zProcessLine: ...
by jeffy
Thu Dec 13, 2012 4:16 am
Forum: General
Topic: Remove everything after 4th white space
Replies: 5
Views: 698

To build on ben_josephs idea, I would personally write it as this: ^(([^ ]+ ){3}).+$ That is, "3" repeats of at-least-one-non-space followed by one-space. I'd also make it a dot-plus if you're SURE there's text after the third space. Finally, I'd add that $, to avoid matching partial lines...
by jeffy
Tue Jul 10, 2012 2:10 pm
Forum: General
Topic: Why Do We Love Textpad?
Replies: 15
Views: 8390

I'm still using TextPad after ten straight years, more than that, even though there's only been about a year-or-so-worth of major updates. That says something. Positive I mean. I'm still using it as my ONLY development environment despite. I'm no longer caring about editable macros. As Bob Hansen ha...
by jeffy
Thu Jun 28, 2012 3:10 pm
Forum: General
Topic: No close document X when document tabs not showing
Replies: 4
Views: 510

It actually seems to have gone away...
by jeffy
Wed Jun 20, 2012 1:44 am
Forum: General
Topic: No close document X when document tabs not showing
Replies: 4
Views: 510

No close document X when document tabs not showing

In 6.1, I don't see any close X button for the current document, when document tabs are not being displayed. I can close it with the key command or file->close, but... Hopefully this is a bug. I searched the forum but found nothing. http://jeffyepstein.com/posts/textpad/textpad_6p2_no_file_close_but...