Page 1 of 1

Textpad won't display colors, help!

Posted: Tue Apr 12, 2005 5:06 pm
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.

Posted: Tue Apr 12, 2005 11:23 pm
by Bob Hansen
I've tried changing the colors in preferences,
Did you try changing the colors in the Documents Class for Java?

Resolution of Syntax Hightlighting

Posted: Fri Aug 26, 2005 9:41 pm
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.

Posted: Tue Sep 20, 2005 9:51 am
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... :?

Posted: Tue Dec 20, 2005 6:44 pm
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?????

Posted: Tue Dec 20, 2005 7:17 pm
by talleyrand
Be sure you only have 1 instance of TextPad running while setting the document class.