Opened 4 years ago

Closed 2 years ago

#913 closed defect (fixed)

almost no syntax highlighting for C code

Reported by: zenogantner Owned by:
Priority: minor Milestone:
Component: Syntax Highlighting Version: trunk
Keywords: syntaxhighlighting, c, scintilla Cc:

Description

I get almost no syntax highlighting when editing a C file.
Only number literals and comments have a special color.

Screenshot is attached.

Ubuntu 9.10
Padre r11269
Wx Version=(0.9701) wxWidgets 2.8.10 unicode=(1)
v5.10.0 built for i486-linux-gnu-thread-multi

Attachments (3)

no-syntax-color-c.png (57.8 KB) - added by zenogantner 4 years ago.
syntax_cpp.png (67.5 KB) - added by zenogantner 3 years ago.
some improvements (1/2)
syntax_cpp2.png (70.1 KB) - added by zenogantner 3 years ago.
some improvements (2/2)

Download all attachments as: .zip

Change History (10)

Changed 4 years ago by zenogantner

comment:1 Changed 4 years ago by zenogantner

Same goes for Python code.

comment:2 Changed 4 years ago by zenogantner

  • Keywords syntaxhighlighting added; syntax highlighting removed

comment:3 Changed 4 years ago by szabgab

  • Component changed from editor to Syntax Highlighting

comment:4 Changed 3 years ago by azawawi

default.yml needs an overhaul. That's true. We are not even setting keywords that are needed for Scintilla lexers to highlight them.

comment:5 Changed 3 years ago by zenogantner

I fixed default.yml a bit for the C case. I'll leave the ticket open for now because of Python etc.

Looks a bit better now, but nor perfect yet ;-).

Changed 3 years ago by zenogantner

some improvements (1/2)

Changed 3 years ago by zenogantner

some improvements (2/2)

comment:6 Changed 2 years ago by azawawi

What about now?

comment:7 Changed 2 years ago by zenogantner

  • Resolution set to fixed
  • Status changed from new to closed

Much better now.
Close.

Note: See TracTickets for help on using tickets.