Skip to content

Implement the getActiveLocation() Editor service over DTD #8543

@DanTup

Description

@DanTup

I'm not sure if this belongs in the Dart or Flutter plugin, but to go with the existing activeLocationChanged event that Editors support over DTD, we've defined a new getActiveLocation() service method so that clients (for ex. the Widget Preview) can get the initial position without having to wait for the user to move the text cursor.

See dart-lang/sdk#61538

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1devtools-integrationRelated to the integration with Dart DevTools

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions