Make editor font choices persistent?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I like to set my fonts larger in the editor, but I have to do it each time I start-up Studio 4. I thought maybe the settings would stay when I did a "save project", but that was not the case. Is there a way to set default editor settings that will be used with every startup?

Thanks,

Nick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have a rummage around in here:

E:\Program Files\Atmel\AVR Tools\AvrStudio4\edit>grep -i font *
AvrStudio.ini:[Font]
AvrStudio_asm.ini:[Font]
AvrStudio_c.ini:[Font]
AvrStudio_gas.ini:[Font]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks. I thought I was there when I edited that file but when I tried to save it I realized I was not permitted to save/edit files in the Program Files folder. This is with Windows Vista. Just a brief Google search makes me believe that doing it wouldn't be easy. Any magic key?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I bet its that bloody UAC again! (first thing I switched off when I started to use Vista)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK I'm there at last. Thanks Clawson. First I had to F1 to Windows HELP and type "turn off UAC", then followed the instructions to shut if off. Then reboot, go to the "edit" folder for Studio 4, right-click & select "properties" for that folder and under the security tab, gave ordinary users like myself modify access. Then I could edit and change the file. I did it once for the generic editor properties but found I needed to do it for the file for .c specific file properties, since that's my current file type.

All there is to it. I turned UAC back on since I'm a bit of a security novice and want to be careful. I left the folder with "modify" rights enabled (I hope) so if I decide I want to make more changes I won't need to go through all this again.

Nick

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can't you just run notepad (or whatever other program you used to edit the .ini files) in Administrator mode and edit the files ? Works fine on Win7 with no further changes to UAC or file/dir privileges.

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Have a rummage around in here:

Code:
E:\Program Files\Atmel\AVR Tools\AvrStudio4\edit>grep -i font *
AvrStudio.ini:[Font]
AvrStudio_asm.ini:[Font]
AvrStudio_c.ini:[Font]
AvrStudio_gas.ini:[Font]

In AVR Studio 4.19 I can get the FaceName to be persistent, but not Size. Both INI file settings are updated immediately after OK in "Font and Color Settings" (no Save Project required), but only FaceName is honored after reopening AVR Studio. The font size is always 10 regardless of the INI file setting.

Any idea how to get AVR Studio to remember font size as well?