Page 1 of 1
Having my own functions syntax colored
Posted: Sun Aug 18, 2002 2:42 am
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
Re: Having my own functions syntax colored
Posted: Mon Sep 16, 2002 11:14 am
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
Re: Having my own functions syntax colored
Posted: Mon Sep 16, 2002 5:15 pm
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
Re: Having my own functions syntax colored
Posted: Tue Sep 17, 2002 3:09 am
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