Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
N-phenyl-N-4-piperidinylpropanamit opened this issue Nov 3, 2021 · 0 comments

Comments

@N-phenyl-N-4-piperidinylpropanamit

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant