You can change the font for the default text editor on the Default Text Editor preferences page (Window > Preferences > Workbench > Default Text Editor).