Search found 6 matches

by lotus298
Tue Mar 17, 2009 3:33 am
Forum: HOW-TOs
Topic: Live code browser for Perl source
Replies: 0
Views: 13073

Live code browser for Perl source

A few days ago, I ran across a program called Perl Oasis. It's a Perl source browser that displays source tree, hotlinks to an editor, etc. The downsides are that it 1) takes too much desktop real estate, 2) is so outdated I can't compile it and 3) doesn't support Textpad. A few days later, this ...
by lotus298
Fri Jun 01, 2007 5:44 pm
Forum: HOW-TOs
Topic: Compare two files in workspace
Replies: 1
Views: 14585

Updated original post. Changed command to

perl c:\userdata\temp\textpad\filecompare.pl "$WspDir\$WspBaseName.tws" "$File"
by lotus298
Fri Jun 01, 2007 5:41 pm
Forum: HOW-TOs
Topic: Find selection in workspace files
Replies: 2
Views: 13852

Re: Find selection in workspace files

You can make it work for the active workspace by changing the command to:

perl c:\userdata\temp\textpad\filecompare.pl "$WspDir\$WspBaseName.tws" "$File"

It's amazing what you find when you read the help pages...
by lotus298
Fri Jun 01, 2007 1:52 am
Forum: HOW-TOs
Topic: Find selection in current file
Replies: 0
Views: 13870

Find selection in current file

This perl script will search the current file for the selected text.

This works great with version 5's auto-hide command output mode.


# DOS command should be:
# perl "c:\userdata\temp\textpad\findinfile.pl" "$File" "$Sel"
# Regex should be:
# ^([0-9]+):
# Line is \1

my $filename = $ARGV[0 ...
by lotus298
Fri Jun 01, 2007 1:50 am
Forum: HOW-TOs
Topic: Compare two files in workspace
Replies: 1
Views: 14585

Compare two files in workspace

This perl script will launch a gui that lets you select two files from your workspace and compare them with tkdiff (of whatever tool you choose).

Remember to save your workspace before running this, as it parses the last saved workspace. Anyone know if "save workspace" is macro-able?


# TKDiff ...
by lotus298
Fri Jun 01, 2007 1:43 am
Forum: HOW-TOs
Topic: Find selection in workspace files
Replies: 2
Views: 13852

Find selection in workspace files

This perl script will parse a TWS workspace for a list of files you have open, and search each file for the selected text.

Remember to save your workspace before running this, as it parses the last saved workspace. Anyone know if "save workspace" is macro-able?

This works great with version 5's ...