Search found 6 matches

by dtoader
Sat Nov 13, 2010 12:19 am
Forum: HOW-TOs
Topic: .bashrc function to open a UNIX path with Textpad 5
Replies: 0
Views: 13206

.bashrc function to open a UNIX path with Textpad 5

This post applies to a cygwin environment or a bash on Windows setup.

# Textpad function
# Pass in a UNIX path
# Starts textpad given a UNIX path argument
function textpad() {
local textpadUnixPath="/cygdrive/c/Program Files/TextPad 5/TextPad.exe"
local textpadArgPath=`cygpath -w -a ...
by dtoader
Thu Nov 05, 2009 4:38 pm
Forum: HOW-TOs
Topic: WinCVS/CVSNT tools
Replies: 0
Views: 13579

WinCVS/CVSNT tools

First install WinCVS, CVSNT
Start Textpad

------------------------------------------------------------------------

To create "Cvs update to latest" tool

Configure->Preferences
Tools
Create a new tool
Add -> Program

Command: C:\Program Files\cvsnt\cvs.exe
Parameters: -r update -P ...
by dtoader
Wed Nov 04, 2009 7:42 pm
Forum: HOW-TOs
Topic: Using ctags in textpad
Replies: 1
Views: 14326

Using ctags in textpad

First install Cygwin / grep / awk / ctags

Start Textpad
Configure->Preferences
Tools
Create a new tool
Add -> Program

Command: C:\cygwin\bin\bash.exe
Parameters: -i -c "ctags -x -R | grep ^'$Sel ' | awk '{print $4,$3}'"

[x] Capture output
[x] Sound alert when completed

Regular expression to ...
by dtoader
Tue Nov 03, 2009 9:29 pm
Forum: Tips
Topic: Using the Cygwin ctags tool in TextPad
Replies: 0
Views: 12789

Using the Cygwin ctags tool in TextPad

Command: C:\cygwin\bin\bash.exe
Parameters: -i -c "ctags -x -R | grep ^'$Sel ' | awk '{print $4,$3}'"

[x] Capture output
[x] Sound alert when completed

Regular expression to match output:
^([^ ]+) ([0-9]+)

Registers:
File: 1 Line: 2
by dtoader
Mon Oct 26, 2009 7:42 pm
Forum: General
Topic: How to scroll using keyboard, without losing selection
Replies: 5
Views: 2818

Is there any way to scroll with the keyboard, without losing my selection?

I noticed that in TextPad Keystroke compatibility mode I can
select some text, leave it selected and proceed to scroll up and
down (Up/Down keys) while the Ctrl key is pressed down.

The Textpad behaviour you describe is ...
by dtoader
Mon Oct 26, 2009 6:02 pm
Forum: General
Topic: How to scroll using keyboard, without losing selection
Replies: 5
Views: 2818

Solution

There are several ways to scroll without losing the selection in textpad.

0. Select the text, Press Scroll Lock and use the Page Up/Down buttons to scroll up and down.
1. Use the mouse wheel (logitech or MS mice have this) to scroll up or down.
2. Create a horizontal split window and scroll around ...