User forums > Help

PHP syntax highlighting problem (bug?)

(1/2) > >>

void:
Hello,

I don't know if anyone else noticed this, at least I haven't been able to find any reports on this board.

In the most recent nightly builds (5322 and the one before I believe) the lexer/syntax highlighting for PHP code seems to be broken for some reason. I've attached two screenshots to show you what I mean.

The first one is right after opening the file - everthing seems to be okay.

The second one is made after selecting some characters with the mouse. Everything's highlighting at once. This is the actual problem I got with this one.
After selecting text the whole syntax highlighting get's screwed and it's not possible to recover from this situation without closing and reopening the file.

As my overall favorite C(++) IDE I used CB for PHP coding for ages without ever experiencing such a strange behaviour, right until - as I already said - the recent builds. Because of this my first thought was that this might be a bug in the lexer or at least something not expected to be there. I'm also sure that people coding PHP in CB might be a minority, so maybe noone noticed or told about it yet.

So, I anyone has an idea about fixing this issue I'd really appreciate that :)

Thank you very much!



[attachment deleted by admin]

dmoore:
I'm guessing something to do with this:

http://svn.berlios.de/wsvn/codeblocks/trunk/?rev=5348&sc=1


--- Quote ---- merged "scintilla" branch to trunk (r5247-r5320).
--- End quote ---

Jenna:

--- Quote from: dmoore on January 05, 2009, 10:16:25 pm ---I'm guessing something to do with this:

http://svn.berlios.de/wsvn/codeblocks/trunk/?rev=5348&sc=1


--- Quote ---- merged "scintilla" branch to trunk (r5247-r5320).
--- End quote ---


--- End quote ---

I don't think so.

The last nightly was build before merging with new scintilla-branch.

dmoore:
i stand corrected. possibly OP has copied the nightly into the same folder as an older nightly with incompatible data...

TDragon:
Nope, I have had the same problem with a couple of fresh installs and have ended removing .php from the syntax highlighting list. This problem has existed for at least a month or two, but I'm pretty sure it's not in 8.02.

Navigation

[0] Message Index

[#] Next page

Go to full version