Skip to content

The two pixels in TextOffset is a magic number and not PPI scaled #82

Description

@pyscripter

SynEdit leaves two pixels between the Gutter and the text unused and painted by the editor background. It is used in the calculation of fTextOffset and other places.
The number of 2 is hardcoded (magic number) and not PPI scaled.
Make it a field and PPI scale it.

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