Author Topic: Not working Syntax Highlighting  (Read 3474 times)

Offline Grabusz

  • Multiple posting newcomer
  • *
  • Posts: 15
Not working Syntax Highlighting
« on: January 10, 2016, 10:59:01 pm »
I've finally successfuly compiled C::B rv10638 (manually downloaded sf-generated snapshot), but Syntax Highlighting doesn't work. It works on an example in the menu, but when I open any .h .hpp or .cpp file it's just black and white.

Compiled wxWidget 3.0.2 64bit with:
Code
CFLAGS ?= -O3 -std=c11 -D_WIN32_IE=0x0603 -Wno-unused-local-typedefs -Wno-deprecated-declarations -m64 -fomit-frame-pointer
CXXFLAGS ?= -O3 -std=gnu++14 -D_WIN32_IE=0x0603 -Wno-unused-local-typedefs -Wno-deprecated-declarations -m64 -fomit-frame-pointer
mingw32-make -j2 -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1  clean
mingw32-make -j2 -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1

and CodeBlocks_wx30_64 with:
Code
-std=c11 -std=gnu++14 -m64 (-g -ggdb -O3)*
* - used only one at the time, and tried without any of them.

Using gcc 5.3.0 from Mingw-w64

Any ideas what might be causing the problem? I'm using 64-bit win7 (Syntax Highlighting works fine in binary versions of 13.12 and 15.12).

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Not working Syntax Highlighting
« Reply #1 on: January 10, 2016, 11:25:59 pm »
10640 commit note is "* revert rev 10634 because matching all files for plain text is wrong"

See if SVN 10640 fixes your problem.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Grabusz

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Not working Syntax Highlighting
« Reply #2 on: January 11, 2016, 02:21:25 pm »
It worked. Thanks :D