Syntax Highighting Current Line

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
maheshs4677
Posts: 2
Joined: Wed Apr 22, 2009 3:56 pm

Syntax Highighting Current Line

Post by maheshs4677 »

Hi,

I have started using Textpad for C++ and PHP development. I have done all the colour configuration. However with PHP I have a problem.

Both in PHP and C++ my default background is Black. When on the current line in C++, the background is all black with the cursor white. Which is perfect. In PHP every colour seems to be fine but for the current line. The entire line is white and it is quite annoying.

Any ideas or suggestions?

Thanks.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

set the color for the document class your document lives in for the item "Current line"

in Configure - Preferences, Document Classes - <your document class> - Colors


Make sure that "Highlight the line containing the cursor" is enabled under Configure - Preferences, View
maheshs4677
Posts: 2
Joined: Wed Apr 22, 2009 3:56 pm

Post by maheshs4677 »

Thanks a million. Sorted.

I had set the Current Line, but when I clicked on it, it had defaulted to the original colour, once I changed that everything was fine!!
Post Reply