Textpad Color Scheme

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
gbargsley
Posts: 2
Joined: Thu Sep 17, 2009 11:25 am

Textpad Color Scheme

Post by gbargsley »

I am taking a college Java class and the instructor recommended using Textpad.

I code in Visual Studio and SQL Studio Management each day and I found color schemes on the internet to allow for a black background and green fonts. and All the keywords and other formatting had the correct color.

I played with the color settings in Textpad and got the background and text right, but when it started putting Java tags and other the formatting did not look right with the colors.

I was wondering if anyone has a color scheme setup that I could see that will have black background with all the correct font colors setup to display correctly.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Assuming you want it to look something like this
Image

0) Close out all but one instance of TextPad

1) Create a java class (Configure -> New Document Class) if one does not exist. Assign it an appropriate java syntax document

2) Modify class to use your color scheme. (Configure -> Preferences -- expand "Document Classes" and expand Java, select Colors
* Window Background assign it black
* Keywords 1-6 assign a foreground of bright green (Lime)
* Brackets, Characters, Comments, Comments2, Numbers, Operators, Text assign a foreground of green (Green)

Click OK. If it looks good, close out TextPad and reopen to force the registry changes to stick (only an issue if you run multiple instances)
I choose to fight with a sack of angry cats.
gbargsley
Posts: 2
Joined: Thu Sep 17, 2009 11:25 am

Post by gbargsley »

That is great.


How would you handle highlighted text and the current line. Right now current line is background white and makes it a little hard to see.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

I would look at Selected Text, Selected Text (no focus), and Current Line. No idea what color you'd want on them however
I choose to fight with a sack of angry cats.
Post Reply