Coding Fonts in FlashDevelop

December 30th, 2006

The default font for almost any programming editor is always Courier. The problem is that some characters aren’t easily differentiated. Letter L and number 1, and number zero and Uppercase O.

Courier and Tobi

I’ve downloaded a font called CodingFontTobi (created by Tobias Werner) which seems to be excellent for developing.
Here are some instructions to change it under Flashdevelop…
Edit the ScintillaNET.xml under Flashdevelop/Settings folder:

Update for version 3 (still in Beta) [Thanks Panagiotis]
C:\Documents and Settings\yourUserName\Local Settings\Application Data\FlashDevelop\Settings


Here’s mine:
C:\Program Files\FlashDevelop\Settings\ScintillaNET.xml
(in bold the changes I’ve made)

<?xml version="1.0" encoding="iso-8859-1"?>
<Scintilla xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<includes>
<include file="@APPDIRSettingsLanguagesAS2.xml" />
<include file="@APPDIRSettingsLanguagesCSS.xml" />
<include file="@APPDIRSettingsLanguagesHTML.xml" />
<include file="@APPDIRSettingsLanguagesJScript.xml" />
<include file="@APPDIRSettingsLanguagesText.xml" />
<include file="@APPDIRSettingsLanguagesXML.xml" />
</includes>
<globals>
<value name="default-fore">0x000000</value>
<value name="default-back">0xffffff</value>
<value name="default-font">Courier New</value>
<value name="default-font-size">11</value>
<value name=”default-selection-fore”>0xffffff</value>
<value name=”default-selection-back”>0×000000</value>
<value name=”default-caretline-back”>0xececec</value>
<value name=”default-caret-fore”>0×000000</value>
<value name=”proggy-font”>CodingFontTobi</value>
</globals>
<style-classes>
<style-class name=”default” fore=”default-fore” back=”default-back” size=”default-font-size” font=“proggy-font” />
<style-class name=”gdefault” fore=”default-fore” back=”default-back” size=”default-font-size” font=”default-font” />
<style-class name=”bracebad” fore=”default-fore” back=”default-back” size=”default-font-size” font=”default-font” bold=”true” />
<style-class name=”bracelight” fore=”0×0000cc” back=”0xcdcdff” size=”default-font-size” font=”default-font” bold=”true” />
<style-class name=”controlchar” fore=”0xffffff” back=”default-back” size=”default-font-size” font=”default-font” />
<style-class name=”indentguide” fore=”0xc0c0c0″ back=”default-back” size=”default-font-size” font=”default-font” />
<style-class name=”linenumber” fore=”0×666666″ back=”default-back” size=”default-font-size” font=”default-font” />
<style-class name=”lastpredefined” fore=”default-fore” back=”default-back” size=”default-font-size” font=”default-font” />
</style-classes>
</Scintilla>

You’ll have to copy the font to the windows/fonts directory.
You can also add it to your favourite editor.
Here’s a preview of the font:

CodingFontTobi

Entry Filed under: FlashDevelop

Bookmark and Share   Del.icio.us   Technorati

3 Comments

  • 1. Kristin&hellip  |  2007-02-23 at 4.11 pm

    That’s a great font! Over the years, I’ve habitually avoided using a single lower case “L” in isolation, or in a variable name. If I have to use one, I put an “_” between the “l” and any numbers that will be dynamically added. Funny habits, for living with bad fonts :-)

  • 2. Panagiotis&hellip  |  2007-10-14 at 11.11 pm

    the path you specify is not valid in recent versions
    In order to change the file you must edit the file in the Local Settings Folder/Flashdevelop

    e.g.
    C:\Documents and Settings\yourUserName\Local Settings\Application Data\FlashDevelop\Settings

  • 3. Danno&hellip  |  2007-10-15 at 1.00 pm

    Thanks Panagiotis,

    I’ve updated the path for the latest release, though it’s still in Beta.

Trackback this post


Most Recent Posts