Code::Blocks

User forums => Using Code::Blocks => Topic started by: rogeriodec on April 15, 2018, 04:46:10 am

Title: [SOLVED] Zoom not being saved / Default zoom?
Post by: rogeriodec on April 15, 2018, 04:46:10 am
1) I do not know what happened, but the zoom is no longer being saved. When I open a text, I use Ctr+Scroll Mouse to zoom in. I leave CB, and when I open the file again, the zoom was not saved.
I completely uninstalled CB, removed residual files, cleaned the registry, installed the current version 17.12, but the problem continues.
What can I do?
2) How can I save a standard zoom for all projects?
Title: Re: Zoom not being saved / Default zoom?
Post by: oBFusCATed on April 15, 2018, 09:46:00 am
1. I don't we save this
2. Why don't you use a larger font? Settings -> Editor -> General -> Font?
Title: Re: Zoom not being saved / Default zoom?
Post by: rogeriodec on April 16, 2018, 03:03:25 am
For some reason, CB is now saving again the previous zoom applied to the file...
I did nothing, just created a new project, opened the main.cpp, zoomed in with the mouse scroll, saved it, closed it, opened it again and the zoom was preserved.
This is one of the mysterious things in the computer world ...
Title: Re: Zoom not being saved / Default zoom?
Post by: jens on April 16, 2018, 06:20:29 am
It's saved in the "<project_name>.layout"-file.
It might get corrupted fr some reasons.
Deleting it should make the feature work again for the project in question.
Title: Re: Zoom not being saved / Default zoom?
Post by: rogeriodec on April 16, 2018, 04:19:46 pm
Solved. Thank you!