Search found 69 matches

by trids
Fri Jul 22, 2011 9:25 am
Forum: Enhancement Suggestions
Topic: Find in all documents - needs work
Replies: 0
Views: 502

Find in all documents - needs work

Currently (TP 5.4.2) The option "In all documents" on the Find dialog has room for improvement: if i search for a word with "in all documents" checked, then all documents in the current workspace are scanned as expected .. but each time i click "Next", every single open document is repositioned to ...
by trids
Fri Jul 15, 2011 9:11 am
Forum: Enhancement Suggestions
Topic: SQL Support
Replies: 4
Views: 1250

:idea: You might also like to execute your SQL scripts/queries from within textpad .. if so, then see my post here :D

You would just need to modify it to run isql.exe .. or is it osql.exe(?) Can't remember the SQL Server commandline interface off-hand.
by trids
Fri Jul 15, 2011 9:02 am
Forum: Enhancement Suggestions
Topic: Run Tool on Selection Only
Replies: 7
Views: 1669

I have created a tool to do precisely this .. and it's available as a TextPad Add-on :D Direct download Official Textpad "Add-ons" page ... Search the page for "SQLite3" Although this add-on (mysl3.zip) runs your text selection as a SQLite3 script/query, it can easily be modfied to execute your ...
by trids
Mon Apr 11, 2011 8:09 am
Forum: General
Topic: custom tool - Passing selected text to/from ext tools
Replies: 2
Views: 847

Another way of doing this with $CLIP (with or without AutoIt) is to use the Unxutils port of to Windows of some brilliant unix file utilities .. http://unxutils.sourceforge.net/ Just copy pclip.exe from the above collection to your System32 folder (or someplace that's already on your $path). Here's ...
by trids
Wed Feb 10, 2010 8:33 am
Forum: General
Topic: Multi Search-n-Replace! Possible through lists???
Replies: 4
Views: 899

Or you can use the commandline utility, sed from http://gnuwin32.sourceforge.net/packages/sed.htm as follows .. Save the following script as mysed.sed: s/String01/String_A/g s/String02/String_B/g s/String03/String_C/g s/String04/String_D/g s/String05/String_E/g Then run the following command at the ...
by trids
Fri Jan 08, 2010 7:59 am
Forum: General
Topic: Macro containing Find in Files
Replies: 7
Views: 1484

Yep, I agree that a new "all open files" checkbox would be very useful on the "find in files" dialog. Perhaps it might also be possible to provide a list of all open files by way of an environment variable, which custom tools can access? Helios? Maybe a tab-delimited list of fully qualified ...
by trids
Wed Dec 02, 2009 1:37 pm
Forum: General
Topic: Macro containing Find in Files
Replies: 7
Views: 1484

There is a very cool solution for this, which i use countless times each day. Check it out ..
http://forums.textpad.com/viewtopic.php?p=11264#11264

It uses grep, a free commandline utility .. download link is in that post. Best of all, no need for a macro

:wink:
by trids
Wed Dec 02, 2009 1:20 pm
Forum: General
Topic: Keyboard shortcuts - is there a limit?
Replies: 4
Views: 1002

Thanks for the reply, woho After further investigation, it looks like the registry is not where the problem/solution lies after all. According to the helpfile, keyboard shortcuts are stored in the CUSTOM.BND file .. mine is 2665 bytes, but i can't decipher it. But wait, how's this for bizarre? .. I ...
by trids
Wed Dec 02, 2009 10:51 am
Forum: General
Topic: Keyboard shortcuts - is there a limit?
Replies: 4
Views: 1002

Keyboard shortcuts - is there a limit?

Is there some limit to the number of keyboard shortcuts that can be user-assigned? I keep bumping my head on this problem with different versions of TP .. I'm still on version 5.2.0, but I've noticed it since about 4.7.3. What happens is I can create a custom tool no problem, and it appears happily ...
by trids
Wed Dec 02, 2009 8:29 am
Forum: General
Topic: highlighting words greater than 30 characters long
Replies: 2
Views: 2776

some workarounds

There are some workarounds you could try though .. The quickest one is to use this regular expression in the Find dialog to highlight words of more than 30 chars in length: \<[^ \t=]{31,}\> .. This will take you to each exception individually within the context of the document. Taking this a step ...
by trids
Wed Jul 29, 2009 3:54 pm
Forum: General
Topic: Color formatting (Unsupported syntax)
Replies: 5
Views: 1110

Can you explain why it worked. 8) I'm guessing that TP sees "-" as a delimiter unless and until you specify that it can be part of a word. So until you put the "-" into the Other characters in words parameter, the best TP can do is get to the "I" in "I-J-K", and look that up in your syntax file ...
by trids
Wed Jul 29, 2009 9:04 am
Forum: General
Topic: Odd Open Behavior
Replies: 2
Views: 639

Also - check your "files in document class" settings .. if it really does say ".txt" then try "*.txt" ... because i'm not experiencing the problem you described and mine says "*.txt"
by trids
Wed Jul 29, 2009 8:36 am
Forum: General
Topic: custom tool - Passing selected text to/from ext tools
Replies: 2
Views: 847

You need to somehow gain access to the clipboard from your script, and then decide whether it's being called from TextPad or EditPad. I use $Clip to pass multiline selections to scripts written in AutoIt 3 , where I save the clipboard to a file and send the results back in a variety of ways ...
by trids
Wed Jul 29, 2009 8:13 am
Forum: General
Topic: Color formatting (Unsupported syntax)
Replies: 5
Views: 1110

Try removing "-" from the OperatorChars for the document class.

And try with and without a "-" in the Other characters in words parameter of the Syntax tab of the document class.
by trids
Tue Mar 10, 2009 2:18 pm
Forum: HOW-TOs
Topic: Cool Tools to use with TextPad - Visual File Compare
Replies: 6
Views: 20927

Re: Cool Tools to use with TextPad - Visual File Compare

grindy wrote: Are the quotation marks actually used?
thx
Yes .. otherwise any spaces in the path-or-filename will cause problems
:wink: