Code::Blocks Forums

User forums => Help => Topic started by: slypiggies on August 28, 2016, 12:34:18 pm

Title: Minor Bugs
Post by: slypiggies on August 28, 2016, 12:34:18 pm
Hello everyone :)
I have the Brace completion option off in the settings.
To show this bug, I created this "scenario".

This is the code I am working with:
Code
if ) cout<<1;

Then I find out that I miss the character '('. I type this back, and the cursor is now after '('.
Code
if () cout<<1;
       ^
Now when I hit backspace, two characters are deleted: '(' and ')'.
I expect that only '(' will be deleted.

Maybe the option of turning off Smart Deletion should be added?