The color of the commented lines changes - green or orange (that's on my setup).
It usually happens when the cursor passes through a line that is commented out with "//".
When you scroll up/down it will change colors too. Sometimes just half of the like as you can see it from the screenshot.
How to reproduce it:
Please note that it does not always happen.
You can try to scroll up and down (I do this with mouse wheel) part of code that has comments. Make sure you click on those lines so they are highlighted as current line.
screenshot
Hello Neven,
The attached file seems corrupted. I've tested the following snippet:
<?php
// comment 1
a=1;
// comment 2
a=2;
/*
comment 3
three
*/
a=3;
/**
* @param string Database name
* @return boolean
*/
a=4;
function CurrentDate()
{
}
?>
The highlighter is set to Multi (TSynWeb). Editor displays 10 lines at a time.
The highlighting may change in all comments via up and down arrow keys. Not only for the @parameters http://en.wikipedia.org/wiki/PHPDoc
Looks like the highlighter has suddenly forgotten the <?php environment.
I uploaded the screenshot again, but it seem the problem not seeing it is with SF.net - if you try opening it several times there is a good chance to see it. :)
For the highlighting - I don't know if it is related but when I go to Options/General options and then General or General/Syntax I can't figure out what item changes what color, they seem to be messed up, overriding each other.
In addition, if I choose Option/Highlighter -> PHP the source code gets greyed out, is if it not highlighted at all.
I hope that helps.
- about the screenshot: the second one works fine on android ;)
- about hightlighting: I know that the bug is hidden somewhere between rev.353 and rev.354
- about the mess of highlighters' items: to do
- about the colors of the PHP highlighter, I will define other settings, later
Thank you for your support.
No fix at the moment, but just a crazy workaround:
disable the active line color (set it to no color)
First fix on 2012-jan-26
In fact, just a workaround because user must choose, either an active line color, either the new numbering of lines. For the moment, we can not have both options simultaneously.
So, "Status" is still "Open".
> In addition, if I choose Option/Highlighter -> PHP
> the source code gets greyed out, is if it not highlighted at all.
Now, the PHP highlighter matches a basic highlighter.
Fixed. Rev >= 2.6.0.355
"Status" is still "Open".