User forums > General (but related to Code::Blocks)

Beginning with SVN 10634 code highlighting defaults to plain text

<< < (3/4) > >>

headkase:

--- Quote from: MortenMacFly on January 01, 2016, 04:54:36 pm ---For now, please remove the lexer on Windows (lexer_plain.xml) then it should work again.
--- End quote ---

Yes, removing that file restores correct behavior without doing any other change.  Thanks.

oBFusCATed:

--- Quote from: MortenMacFly on January 01, 2016, 04:54:36 pm ---To me its weird that it works on Linux, because it should show the same effect. Or does "*" mean really just a file w/o extension?

--- End quote ---
Probably on my machine or on linux the plain text lexer is loaded after the other lexers. So it is added to the end of the list of lexers.

oBFusCATed:

--- Quote from: MortenMacFly on January 01, 2016, 04:45:13 pm ---Edit: Oh, and btw: After your commit I have two times the plain text file option: Ones is called "plain text" and the other is "Plain Text Files". Why? Are you sure you didn't implement something that was already there? :-)

--- End quote ---
Nope I see only "Plain Text Files" in the combo box. But I see the "Plain text" menu option in the Highlight menu.
So I guess there is more work to do about this patch.
And obviously I was right that this change is not safe for 15.12 :)

Scr3amer:
Hey guys,

So I had the same bug, good to know it is not from my side.

But I have another question concerning the syntax hightlight when I build from source : is it normal the members of classes are not highlighted ? Because on C::B 13.12 they are highlighted in purple (default theme color).

Thanks again for the great work you do with C::B  :D !

Alpha:

--- Quote from: Scr3amer on January 03, 2016, 02:10:19 am ---But I have another question concerning the syntax hightlight when I build from source : is it normal the members of classes are not highlighted ? Because on C::B 13.12 they are highlighted in purple (default theme color).

--- End quote ---
This is controlled by Settings->Editor->Code Completion->pseudo semantic keyword highlighting.

@devs: Some of the options there are "Disable xyz", and some are "Enable xyz"... this is kind of confusing.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version