Textpad won't display colors, help!

Using the Java SDK with TextPad

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

Post Reply
Lebowski
Posts: 2
Joined: Tue Apr 12, 2005 5:02 pm

Textpad won't display colors, help!

Post by Lebowski »

Hi Guys,

I've got a frustrating problem with Textpad, it won't display the colors when coding Java. I had it running fine for several weeks, colors and all. But one day I ran Textpad and it decided to show the code in plain black. I've uninstalled Textpad and the Java SDK, then re-installed the latest versions but still no luck. I've tried changing the colors in preferences, but this doesnt work either. Trying to code Java without the colors just makes life unecessarily difficult, any help in resolving this would be much appreciated.

Lebowski.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

I've tried changing the colors in preferences,
Did you try changing the colors in the Documents Class for Java?
Hope this was helpful.............good luck,
Bob
kshirsag
Posts: 1
Joined: Fri Aug 26, 2005 9:26 pm

Resolution of Syntax Hightlighting

Post by kshirsag »

What you need to do is as follows

(1) Click on Configure

(2) Select Preferences..

(3) Select Document Class

(4) Expand Java

(5) Select Colors (Say Keyword 1 - the blue color)

(6) Click Set Default

(7) Click Apply

(8) Next Select Syntax (under Java in Step 4 above)

(9) Check the Enable Syntax Hightlighting

(10) Select Syntax Definition file as java.sync and apply

You should be fine then.
Daemon
Posts: 1
Joined: Tue Sep 20, 2005 9:34 am

Post by Daemon »

Also (and I foudn this out after sóme time...) check in what format you've saved the file... Appárently, the editor also checks the extension of the file for what mapping to use... :?
- No brains, no headache. -
tmunro
Posts: 1
Joined: Tue Dec 20, 2005 6:17 pm

Post by tmunro »

I am having a similar problem with displaying colors for .java files. I have done everything suggested. The file will display in color, but when I save the file and then bring it back into TestPad I have to go into View.Preferences.Syntax and reset the attributes. It doesn't retain the setting. Also, any new .java files that I create I have to set the enable syntax highlighting attribute manually. Any ideas?????
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Be sure you only have 1 instance of TextPad running while setting the document class.
I choose to fight with a sack of angry cats.
Post Reply