Skip to content

(🐞) highlighting is broken when value exceeds width and is wrapped #161

@KotlinIsland

Description

@KotlinIsland
from devtools.prettier import pprint


class A:
    def __repr__(self):
        return "['asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf', 'as\"df']"


pprint(A())
(
    ['asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf
    asdf asdf', 'as"df']
)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions