Code::Blocks Forums

User forums => Help => Topic started by: kotvkvante on February 14, 2024, 07:06:03 pm

Title: Autocomplete deletes code on the right side of the line.
Post by: kotvkvante on February 14, 2024, 07:06:03 pm
Autocomplete deletes code on the right side of the line.
I don't want codeblocks to behave this way =(

(http://)

I find exact same problem in VS code issues:
https://github.com/microsoft/vscode-cpptools/issues/10553
I failed to find similar option in CB editor settings   
Title: Re: Autocomplete deletes code on the right side of the line.
Post by: ollydbg on February 15, 2024, 03:37:54 am
I'm really not quite understand the problem.

It looks like the macro definition "WINDOW_HEIGHT" is defined some where before this line? Not in the same line?

Title: Re: Autocomplete deletes code on the right side of the line.
Post by: Miguel Gimenez on February 15, 2024, 09:34:33 am
It is not deleted, just covered by a wide window with the same colour as background's one.
Title: Re: Autocomplete deletes code on the right side of the line.
Post by: kotvkvante on February 15, 2024, 10:25:47 am
look at github issue.
Title: Re: Autocomplete deletes code on the right side of the line.
Post by: kotvkvante on February 15, 2024, 10:47:33 am
Autocompletion in #define removes everything on right side  ..  Expected behavior in second example. Everything on the right side remains the same

https://youtu.be/dXB4g8tLvYI
Title: Re: Autocomplete deletes code on the right side of the line.
Post by: ollydbg on February 16, 2024, 10:49:48 am
Autocompletion in #define removes everything on right side  ..  Expected behavior in second example. Everything on the right side remains the same

https://youtu.be/dXB4g8tLvYI

OK, I see the issue now by the screencast. Thanks.