User forums > Help

PHP syntax highlighting problem (bug?)

<< < (2/2)

dmoore:
ok, I'm pretty sure the problem is "highlight occurrences" (or whatever the name of the feature is that highlights text that matches the selection) is using old-style indicators and there aren't enough spare style bits in the html/php lexer (it uses more than the other lexers). thus, setting the indicator corrupts the styling info.

Jenna:

--- Quote from: dmoore on January 06, 2009, 03:27:15 pm ---ok, I'm pretty sure the problem is "highlight occurrences" (or whatever the name of the feature is that highlights text that matches the selection) is using old-style indicators and there aren't enough spare style bits in the html/php lexer (it uses more than the other lexers). thus, the setting the indicator is corrupting the styling info.

--- End quote ---
If that's the case it should be fixed in next nightly.
With changeing to the new scintilla-version "Highlight Occurrences" and "Incremental Search" use modern indicators.

EDIT:

I just tested it on my xp-system at work. I have an older version and a brand-new test-version of C::B installed.
The old version with old-style indicators has the bug, the new version seems to work fine.

void:
Let me see if I got this right:

So building from svn should fix the problem?

Jenna:

--- Quote from: void on January 06, 2009, 04:45:53 pm ---Let me see if I got this right:

So building from svn should fix the problem?

--- End quote ---
Yes.

void:
Okay, I just tried it and it works perfectly! Finally I got my good old C::B back :p

Again - Thanks very much for your help!

Navigation

[0] Message Index

[*] Previous page

Go to full version