Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
meld
meld
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 172
    • Issues 172
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • meldmeld
  • Issues
  • #178

Closed
Open
Opened Apr 24, 2018 by Joe Lyga@jdlyga

"override" keyword is bolded for variable names (not just when used as a keyword)

I'm using Meld 3.18 for viewing a diff between c++ source files. I'm seeing the word "override" being highlighted when it's used for variable names or parameters. Here's an example:

Screenshot_from_2018-04-24_10-31-15

"override" should only be a semi-reserved word. It has meaning when writing it at the end of a member function name, but it's still able to be used (probably for backwards compatibility) as a name of a variable. But Meld's syntax highlighter is making it bold like I'm using the "override" keyword and not override as just a variable name. I'm not seeing this behavior with other syntax highlighters I'm using (such as QtCreator).

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/meld#178