Skip to content

phpactor-action-open-file fails after replace reference #61

@kermorgant

Description

@kermorgant

When the replace reference refactoring is invoked, afftected files are opened with the phpactor-action-open-file function and offset argument equals 0.

(byte-to-position offset) returns nil in that case, and the whole operation halts on the subsequent error.

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