Skip to content

Enhancement: provide IndexRange for Paragraph #42

@ghost

Description

Would it be possible to provide indexRange for a given paragraph. This is the use case:

I have a paragraph with multiple styled text objects, each has its own. I need to change one style parameter, for example size.

I am using the styles.mapStyles method. then I apply styles to the whole text area at a given range.

I need a way to know where the given paragraph starts or end in reference to the text area. I tried to figure it out but I could not reach a solution.

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