Skip to content

(Python) Methods don't get the proper highlight color #4284

@fibbo

Description

@fibbo

Describe the issue

I have the following Python code.

sweeper = daq.sweep()
sweeper.set('device', 'dev3225')
sweeper.subscribe('/dev3225/demods/0/sample')
sweeper.execute()

Highlighting of strings and literals is okay. However, it highlights set as built-in and doesn't highlight the methods subscribe and execute at all.

Which language seems to have the issue?

As mentioned, the problem above is with Python, but there are similar issues with e.g., .NET, where method names are also consistently not highlighted.

Are you using highlight or highlightAuto?

I'm using highlightElement.
...

Sample Code to Reproduce
https://jsfiddle.net/Ldpfg657/

Expected behavior
I would expect the methods (like subscribe, execute) to have a distinct color, and especially a set that is not the built-in one, not using the built-in highlight.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions