Skip to content

Extend data is not displayed if it is output on a line of a file that is hidden #25

@Alpscloud

Description

@Alpscloud

Hello!
I have another problem.
If I use extend data for the lines of code that are visible in the DiffView component, then everything is fine.
image
:extend-data="{ oldFile: { 4: { data: 'foo' } }, newFile: { 4: { data: 'bar' } } }"

But if I want to display extend data for the lines of the file (for example line 2), I won't see it. Even expanding all the lines of the file doesn't show it.
image
image
:extend-data="{ oldFile: { 1: { data: 'foo' } }, newFile: { 1: { data: 'bar' } } }"

Is there a solution to this problem?
Perhaps there is a setting that allows you to display the entire contents of the file without shortening it? I didn't find a similar setting in the documentation.

One additional note:
This problem is observed in DiffModeEnum.Unfied mode. In DiffModeEnum.Split - everything is displayed.
image
image

p.s I use Vue3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions