Skip to content

Stop the matching pair from jumping to cursor position after deleting a line #298

@legendaryzyper

Description

@legendaryzyper

I have the following block:

{
     |
}

and when I delete the line with backspaces, I expected to get this:

{|
}

but instead I got this:

{|}

This is extremely annoying when I have the following situation:

int main()
{
     for ( ; ; ; ) 
     {
     }|
}

If I got rid of the for loop from the cursor position then I will get this:

int main()
{
     for ( ; ; ; )
     {|}

and if I backspace one more time it will get rid the main's function ending bracket.

I have read all the documentations but could not find a solution, maybe I'm just missing something. How would you fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions