Having my own functions syntax colored

Using the Java SDK with TextPad

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

Post Reply
Q Tran

Having my own functions syntax colored

Post by Q Tran »

Hi there:

Does anyone know how do I set up textpad so my own functions will be colored also? Can this done easily in the syn file?

thanks
jeyaraj

Re: Having my own functions syntax colored

Post by jeyaraj »

you meant your own class names to be colored. right.

List all the java names(without .java) and past in the java.syn file (you know where to paste once u open the syn file) and save the file.

Thats it.

Hope it helps.

jeyaraj
Q Tran

Re: Having my own functions syntax colored

Post by Q Tran »

Hi there:

Thanks for the reply. Not only the class names, but all member functions as well. If I had a class method called show_value( ), I would want to see show_value( ) highlighted different to inidcate that it's a member function.

thanks
jeyaraj

Re: Having my own functions syntax colored

Post by jeyaraj »

hi

may not be an auto task.

You need to list all your method Names under head [Keywords 5] or so and as defined in configure-->preferences..->Document classes --> java --> colors, the listed method names would be colored.

hope it helps.

jeyaraj
Post Reply