Source Colorization

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Allen Flick

Source Colorization

Post by Allen Flick »

New to TextPad. Have discovered the means of colorization of source code, and have managed to make my own. Wow!

But, there's 2 things somewhat builtin to Xemacs under Unix
that I love. Yeah I could run Xemacs for windows, but TextPad
is cool too.

1: When the insertion cursor is placed on one of a blocking
character pair, the code in between would be highlighted.

2: There was a Toolbar entry under which you could select
"functions" and all the names of the functions within
the source code would be listed & then selecting one
would drive the editor to the beginning of the function
or procedure.

Can either, or hopefully both, of these tasks be incorporated
into TextPad??
James Garacci

Re: Source Colorization

Post by James Garacci »

Please, please, please implement the second request!!!!! I know a lot of developers that would be overjoyed if you did.
David Vanden Heuvel

Re: Source Colorization

Post by David Vanden Heuvel »

see http://www.textpad.com/support/tips.html
and check out "How to configure Ctags as a tool". This should help.

Not exactly what you have asked for, but with a little customization you can get a list of functions:
ctags -x -R $File | grep "function"

this generates a list of functions for the current file. change "function" to "method" for Java. You can also list the classes by changing to "class". "macro" will give you all the #defines in your file.

cheers,
David.
Post Reply