Page 1 of 1

Syntax Highighting Current Line

Posted: Wed Apr 22, 2009 4:07 pm
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.

Posted: Wed Apr 22, 2009 6:17 pm
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

Posted: Thu Apr 23, 2009 8:41 am
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!!