Skip to content

Calculate wrong end position after kill a line #114

Closed
@kongds

Description

@kongds

The function lsp--point-to-position just go to point and calculate pos of this point.
But when go to end point after kill a line, this point is the new pos to old end point.
For example one buffer has the three lines like this

this is the line will be killed
this is second line
this is third line

use kill-line at point 0
so the start pos is (0,0)
but the end pos will be (2,7) should be (0, length of the first line)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions