Skip to content

Character index inside Drag&Drop event handler #335

@ardaqs

Description

@ardaqs

How to get character index by mouse coordinates inside Drag&Drop event handler?
I need to drop a visual component onto a CodeArea and insert some text at arbitrary position. Is there any utility method to convert screen coordinates to character index? Or could you please implement such method in a future release?

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