Skip to content

Do not set a highlight default on root state (highlights entire submission) #161

@machow

Description

@machow

from pairing w/ @hugobowne yesterday. Sometimes pythonwhat would highlight the entire submission, which was caused by creating a highlight attribute on state, which defaults to the current focus on the ast student tree. But this can highlight the entire code.

Can replicate by testing for, e.g., a for loop that wasn't in the student submission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions