I want to be able to mark a couple of lines, say line 3-7 out of 10 lines total. Go to Tools menu (or whatever) and run my own program which gets these lines as input and TextPad afterwards catch my programs output and replace the original lines with the new result. Like a normal filter on the command-line ;;
C:\> type OriginalFile.txt | MyFilterProgram.exe > ResultFile.txt
This is something which has existed in SUN's TextEdit shell (X-Windows program), for many years. In fact, TextEdit does not even has it's own sort, all these changes are done thrue this way.
It would be easy for users to make there own special filters, and also to send them to you as free AddOns. I suggested this before, but now with your new message-board I hope more users read this and agree to it.
It could also be a new way of handling the existing tools menu. If no text is marked, it works as today with hole file sent to the external command, and if text _is_ marked, the lines are instead _replaced_ with the output from the called program.
This would give TextPad unlimited ways of manipulating text.
kind regards
/Henrik Laurell, Sweden
Suggestion: Run external filter on a couple of marked lines
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 3
- Joined: Thu May 06, 2004 6:33 pm