# Arduino app edit area

**URL:** <https://forum.arduino.cc/t/arduino-app-edit-area/961495>\
**Category:** IDE 1.x\
**Created:** [February 20, 2022, 4:24pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495 "2022-02-20T16:24:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cloner56](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@cloner56](https://forum.arduino.cc/u/cloner56)\
**Post date:** [February 20, 2022, 4:24pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495/1 "2022-02-20T16:24:42Z")

</div>

Is there a way to change the font so it's easier to read. the menus seem fine but the place you type you code is very hard to see as it's faded. any help is appreciated. TIA

---

<div class="post-metadata">

**Author:** ![johnwasser](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/johnwasser/32/214270_2.png) [@johnwasser](https://forum.arduino.cc/u/johnwasser)\
**Post date:** [February 20, 2022, 4:42pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495/2 "2022-02-20T16:42:16Z")

</div>

In preferences.txt:  
`editor.font=Monaco,plain,12`

You can find a pointer to your preferences.txt file in the Preferences dialog.

---

<div class="post-metadata">

**Author:** ![cloner56](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@cloner56](https://forum.arduino.cc/u/cloner56)\
**Post date:** [February 20, 2022, 5:06pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495/3 "2022-02-20T17:06:57Z")

</div>

I changed mine from editor.font=Monospace,plain,12 to editor.font=Monospace, bold,12 and nothing happened. Then I tried editor.font=Ariel, bold,12. Still nothing!

---

<div class="post-metadata">

**Author:** ![johnwasser](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/johnwasser/32/214270_2.png) [@johnwasser](https://forum.arduino.cc/u/johnwasser)\
**Post date:** [February 20, 2022, 5:21pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495/4 "2022-02-20T17:21:53Z")

</div>

> [@cloner56](#):
>
> I changed mine

Did you shut down the IDE before changing the file and start the IDE again after changing the file? The IDE writes a new preferences.txt quite often and, I think, only reads it when starting up.

---

<div class="post-metadata">

**Author:** ![cloner56](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@cloner56](https://forum.arduino.cc/u/cloner56)\
**Post date:** [February 20, 2022, 5:32pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495/5 "2022-02-20T17:32:42Z")

</div>

Ok, my bad. Misspelled Arial as areil. It doesn't seem to change the comments lines, but that's ok. I'm using it to help learn how to use an oscilloscope.

---

<div class="post-metadata">

**Author:** ![in0](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@in0](https://forum.arduino.cc/u/in0)\
**Post date:** [February 20, 2022, 5:34pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495/6 "2022-02-20T17:34:16Z")

</div>

Something to note is that the "weight" parameter of the preference is ignored:

> <https://github.com/arduino/Arduino/issues/8484>
>
> The font weight of the Editor window cannot be changed via editing ~/Library⁩/⁨A…rduino15⁩/preferences.txt. It is possible to edit the chosen font and also the size via
> 
> editor.font=\[Font name\],\[weight\],\[size\]
> 
> However, the entry for \[weight\] is ignored. Putting "bold", "plain", "italic" etc. seems to have no effect.

So you should see the IDE reflect the "Arial" and "12" parts, but it doesn't recognize "bold" vs "plain"

---

<div class="post-metadata">

**Author:** ![in0](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@in0](https://forum.arduino.cc/u/in0)\
**Post date:** [February 20, 2022, 5:37pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495/7 "2022-02-20T17:37:24Z")

</div>

> [@cloner56](#):
>
> It doesn't seem to change the comments lines

You can adjust the color of the comments via the `editor.comment2.style` property of the Arduino IDE theme. There is some information about that here:

> **[GitHub - per1234/ThemeTest: Documentation and a testing sketch for modifying...](https://github.com/per1234/ThemeTest#readme)**
>
> Documentation and a testing sketch for modifying Arduino IDE themes - GitHub - per1234/ThemeTest: Documentation and a testing sketch for modifying Arduino IDE themes

and here:

[https://forum.arduino.cc/index.php?topic=526402.msg4678818#msg4678818](https://forum.arduino.cc/index.php?topic=526402.msg4678818#msg4678818)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [August 19, 2022, 5:38pm UTC](https://forum.arduino.cc/t/arduino-app-edit-area/961495/8 "2022-08-19T17:38:07Z")

</div>

Closed on August 19, 2022, 5:38pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
